Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5356 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.h


Ignore:
Timestamp:
Oct 10, 2005, 8:17:44 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: saver Weapon-Projectile-generation and Stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.h

    r5355 r5356  
    106106
    107107    // FUNCTIONS TO SET THE WEAPONS PROPERTIES.
    108     void setProjectile(ClassID projectile);
    109     void setProjectile(const char* projectile);
     108    void setProjectileType(ClassID projectile);
     109    void setProjectileType(const char* projectile);
    110110    /** @returns The projectile's classID */
    111     inline ClassID getProjectile() { return this->projectile; };
     111    inline ClassID getProjectileType() { return this->projectile; };
    112112    /** @returns the FastFactory, that creates Projectiles of type getProjectile */
    113113    inline FastFactory* getProjectileFactory() { return this->projectileFactory; };
     114    void prepareProjectiles(unsigned int count);
     115    Projectile* getProjectile();
    114116
    115117
Note: See TracChangeset for help on using the changeset viewer.