Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 619


Ignore:
Timestamp:
Dec 18, 2007, 5:30:25 PM (17 years ago)
Author:
bknecht
Message:

maybe this helps…

Location:
code/branches/FICN/src/orxonox/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/NPC.cc

    r617 r619  
    6464   * updates the data of an element
    6565   */
    66   void NPC::tick(float dt)
     66  void NPC::update()
    6767  {
    6868
     
    7272    //if element is movable, calculate acceleration
    7373    if (this->movable_ == true) calculateAcceleration(arrayOfElements);
     74
     75  }
     76
     77  /**
     78   * tick this NPC
     79   */
     80  void NPC::tick(float dt)
     81  {
     82
    7483
    7584  }
  • code/branches/FICN/src/orxonox/objects/NPC.h

    r617 r619  
    2121      virtual ~NPC();
    2222      void tick(float dt);
     23      void update();
    2324      void setValues(Vector3 location, Vector3 speed, Vector3 acceleration, bool movable);
    2425
Note: See TracChangeset for help on using the changeset viewer.