Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10447 in orxonox.OLD for trunk/src/world_entities/npcs/npc.cc


Ignore:
Timestamp:
Jan 28, 2007, 4:15:22 PM (17 years ago)
Author:
snellen
Message:

debugdraw track in npc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/npc.cc

    r10444 r10447  
    166166  .defaultValues(0);
    167167
    168 
    169     // Track
    170168  LoadParamXML(root, "Weapons", this, NPC, addWeapons)
    171169  .describe("creates and adds weapons");
     
    268266
    269267}
     268
     269void NPC::draw() const
     270{
     271 WorldEntity::draw();
     272  if( this->entityTrack != NULL)
     273    this->entityTrack->drawGraph();
     274}
Note: See TracChangeset for help on using the changeset viewer.