1 /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2 /* If you are missing that file, acquire a complete release at teeworlds.com. */
3 #ifndef GAME_SERVER_ENTITIES_LASER_H
4 #define GAME_SERVER_ENTITIES_LASER_H
6 #include <game/server/entity.h>
8 class CLaser
: public CEntity
11 CLaser(CGameWorld
*pGameWorld
, vec2 Pos
, vec2 Direction
, float StartEnergy
, int Owner
);
15 virtual void Snap(int SnappingClient
);
18 bool HitCharacter(vec2 From
, vec2 To
);