Метод | Описание | |
---|---|---|
DisplayCase ( |
create a case of a platform
|
|
DisplayCross ( |
display a red cross inside a case
|
|
IsBetweenCase ( int mouseX, int mouseY ) : bool |
test if the cursor position is between a case
|
|
OverCase ( int x, int y ) : void |
check if the mouse is over the case and display it
|
|
casePlatform ( int x, int y, int size, Color color ) : System |
Метод | Описание | |
---|---|---|
ChangeRectLocation ( int x, int y ) : void |
change the rectangle location if the case size has change
|
|
ChangeRectSize ( int size ) : void |
change the size of the rectangle if the case size size has change
|
public DisplayCase ( |
||
g | ||
Результат | void |
public DisplayCross ( |
||
g | ||
x | int | coordinate x of the case |
y | int | coordinate y of the case |
Результат | void |
public IsBetweenCase ( int mouseX, int mouseY ) : bool | ||
mouseX | int | position x of the mouse cursor |
mouseY | int | position y of the mouse cursor |
Результат | bool |
public casePlatform ( int x, int y, int size, Color color ) : System | ||
x | int | |
y | int | |
size | int | |
color | Color | |
Результат | System |