Method | Description | |
---|---|---|
CalcDirection ( double mouseX, double mouseY, double globalX, double globalY, double playerX, double playerY, int tileSize ) : double | ||
CalcRectangle ( double globalX, double globalY, double playerX, double playerY, int tileSize ) : |
||
CalcRectangle ( double camX, double camY, double playerX, double playerY, int tileSize, int xOffset, int yOffset ) : |
public static CalcDirection ( double mouseX, double mouseY, double globalX, double globalY, double playerX, double playerY, int tileSize ) : double | ||
mouseX | double | |
mouseY | double | |
globalX | double | |
globalY | double | |
playerX | double | |
playerY | double | |
tileSize | int | |
return | double |
public static CalcRectangle ( double globalX, double globalY, double playerX, double playerY, int tileSize ) : |
||
globalX | double | |
globalY | double | |
playerX | double | |
playerY | double | |
tileSize | int | |
return |
public static CalcRectangle ( double camX, double camY, double playerX, double playerY, int tileSize, int xOffset, int yOffset ) : |
||
camX | double | |
camY | double | |
playerX | double | |
playerY | double | |
tileSize | int | |
xOffset | int | |
yOffset | int | |
return |