Méthode | Description | |
---|---|---|
GetCustomTexture2D ( |
|
|
GetHypoteneuseAngleDegrees ( Point p1, Point p2 ) : float |
Gets the angle of the hypoteneuse with the X-axis between two points.
|
|
GetHypoteneuseAngleRad ( Point p1, Point p2 ) : float |
Gets the angle of the hypoteneuse with the X-axis between two points.
|
|
GetHypoteneuseLength ( Point p1, Point p2 ) : double |
Gets the length of the hypoteneuse between two points.
|
|
GetPointOnCircle ( Point location, double radius, double angle ) : Point |
Gets a point at the edge of a circle at a location, with given radius, with the given angle.
|
|
GetQuadDepth ( int width ) : int | ||
LoadNodes ( String filename, GraphicsDevice graphicsdevice ) : void |
Loads collisionnodes from a file
|
|
LoadPlayers ( String filename ) : void |
public static GetCustomTexture2D ( |
||
batch | ||
color | Color | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public static GetHypoteneuseAngleDegrees ( Point p1, Point p2 ) : float | ||
p1 | Point | Point one |
p2 | Point | Point two |
Résultat | float |
public static GetHypoteneuseAngleRad ( Point p1, Point p2 ) : float | ||
p1 | Point | Point one |
p2 | Point | Point two |
Résultat | float |
public static GetHypoteneuseLength ( Point p1, Point p2 ) : double | ||
p1 | Point | Point 1 |
p2 | Point | Point 2 |
Résultat | double |
public static GetPointOnCircle ( Point location, double radius, double angle ) : Point | ||
location | Point | The location of the circle |
radius | double | The radius of the circle |
angle | double | The angle |
Résultat | Point |
public static GetQuadDepth ( int width ) : int | ||
width | int | |
Résultat | int |
public static LoadNodes ( String filename, GraphicsDevice graphicsdevice ) : void | ||
filename | String | |
graphicsdevice | GraphicsDevice | Graphics Device |
Résultat | void |
public static LoadPlayers ( String filename ) : void | ||
filename | String | |
Résultat | void |