#ifndef GAME_SERVER_ENTITY_DOOR_H #define GAME_SERVER_ENTITY_DOOR_H #include class CTrigger; class CDoor : public CEntity { vec2 m_To; int m_EvalTick[MAX_CLIENTS]; bool m_Opened[MAX_CLIENTS]; bool HitCharacter(int Team); public: void Open(int Tick, bool ActivatedTeam[]); void Close(int Team); CDoor(CGameWorld *pGameWorld, vec2 Pos, float Rotation, int Length, bool Opened); virtual void Reset(); virtual void Tick(); virtual void Snap(int SnappingClient); }; #endif