Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 28, 2006, 5:25:42 PM (19 years ago)
Author:
patrick
Message:

door proximity algorithm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/door.h

    r8874 r8875  
    1919
    2020    void setAnim(int animationIndex, int animPlaybackMode);
     21    void setActionRadius(float radius) { this->actionRadius = radius; }
    2122
    2223    virtual void tick (float time);
     24
     25    void open();
     26    void close();
    2327
    2428  private:
     
    2731  private:
    2832    bool           bOpen;             //!< true if the door is open
     33    float          actionRadius;      //!< action radius
    2934
    3035};
Note: See TracChangeset for help on using the changeset viewer.