C# Class Shooter.Entities.PlayerPos

ファイルを表示 Open project: JoeyTheAsian/Just-Force

Public Methods

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 ) : Rectangle
CalcRectangle ( double camX, double camY, double playerX, double playerY, int tileSize, int xOffset, int yOffset ) : Rectangle

Method Details

CalcDirection() public static method

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

CalcRectangle() public static method

public static CalcRectangle ( double globalX, double globalY, double playerX, double playerY, int tileSize ) : Rectangle
globalX double
globalY double
playerX double
playerY double
tileSize int
return Microsoft.Xna.Framework.Rectangle

CalcRectangle() public static method

public static CalcRectangle ( double camX, double camY, double playerX, double playerY, int tileSize, int xOffset, int yOffset ) : Rectangle
camX double
camY double
playerX double
playerY double
tileSize int
xOffset int
yOffset int
return Microsoft.Xna.Framework.Rectangle