- Timestamp:
- Jan 28, 2007, 4:15:22 PM (18 years ago)
- Location:
- trunk/src/world_entities/npcs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/npc.cc
r10444 r10447 166 166 .defaultValues(0); 167 167 168 169 // Track170 168 LoadParamXML(root, "Weapons", this, NPC, addWeapons) 171 169 .describe("creates and adds weapons"); … … 268 266 269 267 } 268 269 void NPC::draw() const 270 { 271 WorldEntity::draw(); 272 if( this->entityTrack != NULL) 273 this->entityTrack->drawGraph(); 274 } -
trunk/src/world_entities/npcs/npc.h
r10440 r10447 29 29 30 30 virtual void tick(float dt); 31 void draw() const; 31 32 inline int getTeam() { return teamNumber; } 32 33 inline void fire(){ this->bFire=true;}
Note: See TracChangeset
for help on using the changeset viewer.