Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10393 in orxonox.OLD for trunk/src/world_entities/cameraman.h


Ignore:
Timestamp:
Jan 26, 2007, 7:36:16 PM (17 years ago)
Author:
snellen
Message:

made cameraman xml-loadable second try, added method setCamera(const std::string& camera)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/cameraman.h

    r10390 r10393  
    2121    CameraMan(const TiXmlElement* root = NULL);
    2222    void setCam(int CameraNo);
     23    void setCam(const std::string& camName);
    2324    void createCam(const TiXmlElement* root);
    2425    void moveCam(int x, int y, int z,  int camNo);
     
    3637    virtual void loadParams(const TiXmlElement* root);
    3738   
    38     /// Polling (to be used in scripts)
     39    /// POLLING
    3940    float getCurrCameraCoorX(){ return this->currentCam->getAbsCoorX(); }
    4041    float getCurrCameraCoorY(){ return this->currentCam->getAbsCoorY(); }
    4142    float getCurrCameraCoorZ(){ return this->currentCam->getAbsCoorZ(); }
     43    bool cameraIsInVector(Camera* camera);
    4244
    4345};
Note: See TracChangeset for help on using the changeset viewer.