Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Aug 11, 2005, 4:58:59 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: playing of different Buffer on one Sources works, but without overlapping.
so what we do now is
stop(oldSound)
load(newSound)
play(newSound)

File:
1 edited

Legend:

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

    r4982 r4984  
    2121#include "npc.h"
    2222
     23#include "state.h"
     24
     25
    2326using namespace std;
    2427
     
    4245}
    4346
     47void NPC::tick(float dt)
     48{
     49  this->shiftCoor((State::getCameraTarget()->getAbsCoor() - this->getAbsCoor()) *dt *10);
     50
     51}
     52
    4453
    4554void NPC::die()
Note: See TracChangeset for help on using the changeset viewer.