Method | Description | |
---|---|---|
GetCaseShip ( ) : BattleShip.casePlatform[] | ||
IsInThePlatform ( int mouseX, int mouseY, |
check if the boats are in the ally platform and fit him to case
|
|
Ship ( int boat, int size ) : System | ||
Ship ( int boat, int size, Point Location ) : System | ||
drawShip ( |
draw a boat
|
|
isBetweenCase ( int mouseX, int mouseY ) : bool |
Check the postion of the boat and the cursor of the mouse
|
|
rotateBoat ( ) : void |
rotate the boat (inverse the height and the width of the boat)
|
public GetCaseShip ( ) : BattleShip.casePlatform[] | ||
return | BattleShip.casePlatform[] |
public IsInThePlatform ( int mouseX, int mouseY, |
||
mouseX | int | position x of the mouse cursor |
mouseY | int | position y of the mouse cursor |
platform | ||
return | void |
public Ship ( int boat, int size, Point Location ) : System | ||
boat | int | |
size | int | |
Location | Point | |
return | System |
public drawShip ( |
||
g | ||
return | void |
public isBetweenCase ( int mouseX, int mouseY ) : bool | ||
mouseX | int | position x of the mouse cursor |
mouseY | int | position y of the mouse cursor |
return | bool |