C# Class GameEngine.Drawing.DrawableInstance

Afficher le fichier Open project: MichaelAquilina/Some-2D-RPG Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime, SpriteBatch spriteBatch, Vector2 destination, float layerDepth, float entityScaleX, float entityScaleY, float opacity, float maxY, ViewPortInfo viewPortInfo ) : Rectangle
DrawableInstance ( IGameDrawable drawable ) : System
GetElapsedMS ( GameTime gameTime ) : double
GetHeight ( GameTime gameTime ) : int
GetWidth ( GameTime gameTime ) : int
IsFinished ( GameTime gameTime ) : bool
Reset ( GameTime gameTime ) : void
ToString ( ) : string

Method Details

Draw() public méthode

public Draw ( GameTime gameTime, SpriteBatch spriteBatch, Vector2 destination, float layerDepth, float entityScaleX, float entityScaleY, float opacity, float maxY, ViewPortInfo viewPortInfo ) : Rectangle
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
destination Vector2
layerDepth float
entityScaleX float
entityScaleY float
opacity float
maxY float
viewPortInfo GameEngine.Info.ViewPortInfo
Résultat Microsoft.Xna.Framework.Rectangle

DrawableInstance() public méthode

public DrawableInstance ( IGameDrawable drawable ) : System
drawable IGameDrawable
Résultat System

GetElapsedMS() public méthode

public GetElapsedMS ( GameTime gameTime ) : double
gameTime Microsoft.Xna.Framework.GameTime
Résultat double

GetHeight() public méthode

public GetHeight ( GameTime gameTime ) : int
gameTime Microsoft.Xna.Framework.GameTime
Résultat int

GetWidth() public méthode

public GetWidth ( GameTime gameTime ) : int
gameTime Microsoft.Xna.Framework.GameTime
Résultat int

IsFinished() public méthode

public IsFinished ( GameTime gameTime ) : bool
gameTime Microsoft.Xna.Framework.GameTime
Résultat bool

Reset() public méthode

public Reset ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string