Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10498 in orxonox.OLD for trunk/src/world_entities/space_ships


Ignore:
Timestamp:
Jan 30, 2007, 11:10:09 AM (18 years ago)
Author:
bknecht
Message:

use pauseCamera in scripts to pause the track of the camera. this works also with pause on NPCs and spaceships with tracks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/space_ship.cc

    r10497 r10498  
    9191                        ->addMethod("getAbsCoorZ", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorZ))
    9292                        //->addMethod("setCameraSpeed", Executor1<SpaceShip, lua_State*, float>(&SpaceShip::setCameraSpeed))
     93                        ->addMethod("pause", Executor1<WorldEntity, lua_State*, bool>(&WorldEntity::pauseTrack))
    9394                       );
    9495
Note: See TracChangeset for help on using the changeset viewer.