Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 16, 2005, 5:53:20 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: working on projectile, functions and doxy, modified the hit(…) function from world_entity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/projectile.cc

    r3574 r3578  
    2626
    2727
    28 
     28/**
     29   \brief standard constructor
     30*/
    2931Projectile::Projectile () : WorldEntity()
    3032{
     
    3335
    3436
    35 
     37/**
     38   \brief standard deconstructor
     39*/
    3640Projectile::~Projectile ()
    3741{
     
    3943}
    4044
     45
     46/**
     47   \brief signal tick, time dependent things will be handled here
     48   \param time since last tick
     49*/
    4150void Projectile::tick (float time)
    4251{}
    4352
    44 void Projectile::hit (WorldEntity* weapon, Vector loc)
     53/**
     54   \brief the projectile gets hit by another entity
     55   \param the other entity
     56   \param place where it is hit
     57*/
     58void Projectile::hit (WorldEntity* entity, Vector* place)
    4559{}
    4660
     61
     62/**
     63   \brief the function gets called, when the projectile is destroyed
     64*/
    4765void Projectile::destroy ()
    4866{}
    4967
    50 void Projectile::collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags)
    51 {}
    5268
    5369void Projectile::draw ()
Note: See TracChangeset for help on using the changeset viewer.