| ShotInfo Constructor |
Create a (fire)shot DTO
Namespace:
INF1771_GameClient.dto
Assembly:
INF1771_GameClient (in INF1771_GameClient.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ShotInfo(
int x,
int y,
PlayerInfoDirection dir,
Color color
)
public:
ShotInfo(
int x,
int y,
PlayerInfoDirection dir,
Color color
)
Parameters
- x
- Type: SystemInt32
Shot position x - y
- Type: SystemInt32
Shot position y - dir
- Type: INF1771_GameClient.dtoPlayerInfoDirection
Shot direction (north,south, east or west) - color
- Type: System.DrawingColor
Shot color (R, G, B)
See Also