DDraceNetwork Docs
door.h
Go to the documentation of this file.
1/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
2#ifndef GAME_SERVER_ENTITIES_DOOR_H
3#define GAME_SERVER_ENTITIES_DOOR_H
4
6
7class CGameWorld;
8
9class CDoor : public CEntity
10{
12 void ResetCollision();
15
16public:
17 CDoor(CGameWorld *pGameWorld, vec2 Pos, float Rotation, int Length,
18 int Number);
19
20 void Reset() override;
21 void Snap(int SnappingClient) override;
22};
23
24#endif // GAME_SERVER_ENTITIES_DOOR_H
Definition: door.h:10
void ResetCollision()
Definition: door.cpp:27
vec2 m_Direction
Definition: door.h:14
int m_Length
Definition: door.h:13
void Reset() override
Definition: door.cpp:43
vec2 m_To
Definition: door.h:11
CDoor(CGameWorld *pGameWorld, vec2 Pos, float Rotation, int Length, int Number)
Definition: door.cpp:12
void Snap(int SnappingClient) override
Definition: door.cpp:48
Definition: entity.h:13
Definition: gameworld.h:17