C# Class GameEngine.Drawing.Bitmap.StaticImage

Inheritance: BitmapDrawable
Afficher le fichier Open project: MichaelAquilina/Some-2D-RPG

Méthodes publiques

Méthode Description
CalculateOrigin ( int x, int y ) : Vector2
GetSourceRectangle ( double elapsedMS ) : Rectangle?
GetSourceTexture ( double elapsedMS ) : Microsoft.Xna.Framework.Graphics.Texture2D
StaticImage ( Microsoft.Xna.Framework.Graphics.Texture2D sourceTexture, Rectangle sourceRectangle ) : GameEngine.Interfaces
ToString ( ) : string

Method Details

CalculateOrigin() public méthode

public CalculateOrigin ( int x, int y ) : Vector2
x int
y int
Résultat Microsoft.Xna.Framework.Vector2

GetSourceRectangle() public méthode

public GetSourceRectangle ( double elapsedMS ) : Rectangle?
elapsedMS double
Résultat Rectangle?

GetSourceTexture() public méthode

public GetSourceTexture ( double elapsedMS ) : Microsoft.Xna.Framework.Graphics.Texture2D
elapsedMS double
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

StaticImage() public méthode

public StaticImage ( Microsoft.Xna.Framework.Graphics.Texture2D sourceTexture, Rectangle sourceRectangle ) : GameEngine.Interfaces
sourceTexture Microsoft.Xna.Framework.Graphics.Texture2D
sourceRectangle Microsoft.Xna.Framework.Rectangle
Résultat GameEngine.Interfaces

ToString() public méthode

public ToString ( ) : string
Résultat string