Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 7:05:42 PM (17 years ago)
Author:
tfahrni
Message:

npc can shoot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/world_entities/npcs/npc_test.cc

    r10269 r10275  
    5252
    5353  // create the weapons and their manager
    54   this->addWeapon(wpLeft, 1, 0);
    55   this->addWeapon(wpRight,1 ,1);
    56 \
     54
     55
    5756  this->getWeaponManager().changeWeaponConfig(1);
    5857  Weapon* wpRight = new TestGun(0);
     
    6059  Weapon* wpLeft = new TestGun(1);
    6160  wpLeft->setName("testGun Left");
     61
     62  this->addWeapon(wpLeft, 1, 0);
     63  this->addWeapon(wpRight,1 ,1);
    6264
    6365  this->setHealthMax(100);
Note: See TracChangeset for help on using the changeset viewer.