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
5
#include <
game/server/entity.h
>
6
7
class
CGameWorld
;
8
9
class
CDoor
:
public
CEntity
10
{
11
vec2
m_To
;
12
void
ResetCollision
();
13
int
m_Length
;
14
vec2
m_Direction
;
15
16
public
:
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
CDoor
Definition:
door.h:10
CDoor::ResetCollision
void ResetCollision()
Definition:
door.cpp:27
CDoor::m_Direction
vec2 m_Direction
Definition:
door.h:14
CDoor::m_Length
int m_Length
Definition:
door.h:13
CDoor::Reset
void Reset() override
Definition:
door.cpp:43
CDoor::m_To
vec2 m_To
Definition:
door.h:11
CDoor::CDoor
CDoor(CGameWorld *pGameWorld, vec2 Pos, float Rotation, int Length, int Number)
Definition:
door.cpp:12
CDoor::Snap
void Snap(int SnappingClient) override
Definition:
door.cpp:48
CEntity
Definition:
entity.h:13
CGameWorld
Definition:
gameworld.h:17
vector2_base< float >
entity.h
src
game
server
entities
door.h
Generated by
1.9.4