C# Class WpfApplication7.Tools

Afficher le fichier Open project: NCCUCS-Windows-Programming/SpaceWar

Méthodes publiques

Свойство Type Description
instance Tools

Méthodes publiques

Méthode Description
AABBtest ( float ax1, float ay1, float ax2, float ay2, float bx1, float by1, float bx2, float by2 ) : bool
getPos ( float x, float y ) : int[]
getPos_map ( float x, float y ) : int[]
getPos_margin ( int x, int y ) : int[]

Method Details

AABBtest() public méthode

public AABBtest ( float ax1, float ay1, float ax2, float ay2, float bx1, float by1, float bx2, float by2 ) : bool
ax1 float
ay1 float
ax2 float
ay2 float
bx1 float
by1 float
bx2 float
by2 float
Résultat bool

getPos() public méthode

public getPos ( float x, float y ) : int[]
x float
y float
Résultat int[]

getPos_map() public méthode

public getPos_map ( float x, float y ) : int[]
x float
y float
Résultat int[]

getPos_margin() public méthode

public getPos_margin ( int x, int y ) : int[]
x int
y int
Résultat int[]

Property Details

instance public_oe static_oe property

public static Tools instance
Résultat Tools