C# Class GameEngine.Drawing.DrawableInstance

Datei anzeigen Open project: MichaelAquilina/Some-2D-RPG Class Usage Examples

Public Methods

Method 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 method

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
return Microsoft.Xna.Framework.Rectangle

DrawableInstance() public method

public DrawableInstance ( IGameDrawable drawable ) : System
drawable IGameDrawable
return System

GetElapsedMS() public method

public GetElapsedMS ( GameTime gameTime ) : double
gameTime Microsoft.Xna.Framework.GameTime
return double

GetHeight() public method

public GetHeight ( GameTime gameTime ) : int
gameTime Microsoft.Xna.Framework.GameTime
return int

GetWidth() public method

public GetWidth ( GameTime gameTime ) : int
gameTime Microsoft.Xna.Framework.GameTime
return int

IsFinished() public method

public IsFinished ( GameTime gameTime ) : bool
gameTime Microsoft.Xna.Framework.GameTime
return bool

Reset() public method

public Reset ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

ToString() public method

public ToString ( ) : string
return string