/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */ #ifndef GAME_SERVER_ENTITIES_GUN_H #define GAME_SERVER_ENTITIES_GUN_H #include #include class CGun : public CEntity { int m_EvalTick; vec2 m_Core; bool m_Freeze; bool m_Explosive; void Fire(); int m_LastFire; public: CGun(CGameWorld *pGameWorld, vec2 Pos, bool Freeze, bool Explosive, int Layer = 0, int Number = 0); void Reset() override; void Tick() override; void Snap(int SnappingClient) override; }; #endif // GAME_SERVER_ENTITIES_GUN_H