Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 20, 2007, 7:47:40 PM (17 years ago)
Author:
rennerc
Message:

die enemy die

Location:
branches/presentation/src/world_entities/npcs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/npcs/actionbox_enemy.cc

    r10734 r10739  
    115115  LoadParam(root, "agility", this, ActionboxEnemy, setAgility);
    116116  LoadParam(root, "acceleration", this, ActionboxEnemy, setAcceleration);
     117  LoadParam(root, "active", this, ActionboxEnemy, setActive);
    117118}
    118119
    119120void ActionboxEnemy::tick( float dt )
    120121{
     122  // printf("ABEGROUP: %d\n", this->getOMListNumber());
     123 
    121124  if ( escaped )
    122125  {
     
    375378  toList( OM_DEAD );
    376379}
     380
  • branches/presentation/src/world_entities/npcs/actionbox_enemy.h

    r10727 r10739  
    3636    void setMaxSpeed( float f ){ this->maxSpeed = f; }
    3737    void setAgility( float f ){ this->agility = f; }
     38    void setActive( bool b ){ this->isActive = b; }
    3839   
    3940    Quaternion myDir;
Note: See TracChangeset for help on using the changeset viewer.