Method | Description | |
---|---|---|
Get ( string imageType ) : Microsoft.Xna.Framework.Graphics.Texture2D |
Gets the specified image type, and returns the corresponding Texture2D.
|
|
GetOrigin ( string imageType ) : Vector2 |
Gets the origin of the image.
|
|
Load ( string imageName, string directory ) : void |
Loads a Texture2D, and matches it to the specified image name for easy use later.
|
public static Get ( string imageType ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
imageType | string | Type of the image. |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static GetOrigin ( string imageType ) : Vector2 | ||
imageType | string | Type of the image. |
return | Vector2 |
public static Load ( string imageName, string directory ) : void | ||
imageName | string | |
directory | string | |
return | void |