C# Class Dabrorius.MonoPunk.Engine

Inheritance: Microsoft.Xna.Framework.Game
Exibir arquivo Open project: dabrorius/MonoPunk Class Usage Examples

Public Properties

Property Type Description
currentEngine Engine

Public Methods

Method Description
EmbeddFile ( String filename ) : Microsoft.Xna.Framework.Graphics.Texture2D
Engine ( int width, int height, string assetsDirectory = "./" ) : System
Render ( ) : void

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
checkWorld ( ) : void

Method Details

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

EmbeddFile() public static method

public static EmbeddFile ( String filename ) : Microsoft.Xna.Framework.Graphics.Texture2D
filename String
return Microsoft.Xna.Framework.Graphics.Texture2D

Engine() public method

public Engine ( int width, int height, string assetsDirectory = "./" ) : System
width int
height int
assetsDirectory string
return System

LoadContent() protected method

protected LoadContent ( ) : void
return void

Render() public method

public Render ( ) : void
return void

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

currentEngine public_oe static_oe property

public static Engine,Dabrorius.MonoPunk currentEngine
return Engine