Method | Description | |
---|---|---|
FieldPanel ( ) : System | ||
GetCoordinatesFromMouse ( int mouseX, int mouseY ) : Coordinates | ||
SetCellShip ( Coordinates coordinates, ShipPiece shipPiece, int section, ShipOrientation orientation ) : void | ||
SetCellState ( Coordinates coordinates, CellState state ) : void |
Method | Description | |
---|---|---|
OnPaint ( PaintEventArgs e ) : void |
Method | Description | |
---|---|---|
DrawCellHover ( |
||
DrawCellStateAndShips ( |
||
GetShipImage ( ShipPiece piece ) : Image | ||
GetShipImage ( ShipPiece piece, int section ) : Image |
public GetCoordinatesFromMouse ( int mouseX, int mouseY ) : Coordinates | ||
mouseX | int | |
mouseY | int | |
return | Coordinates |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
public SetCellShip ( Coordinates coordinates, ShipPiece shipPiece, int section, ShipOrientation orientation ) : void | ||
coordinates | Coordinates | |
shipPiece | ShipPiece | |
section | int | |
orientation | ShipOrientation | |
return | void |
public SetCellState ( Coordinates coordinates, CellState state ) : void | ||
coordinates | Coordinates | |
state | CellState | |
return | void |