C# Class Dabrorius.MonoPunk.Engine

Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: dabrorius/MonoPunk Class Usage Examples

Méthodes publiques

Свойство Type Description
currentEngine Engine

Méthodes publiques

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

Méthodes protégées

Méthode Description
Draw ( GameTime gameTime ) : void
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
checkWorld ( ) : void

Method Details

Draw() protected méthode

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

EmbeddFile() public static méthode

public static EmbeddFile ( String filename ) : Microsoft.Xna.Framework.Graphics.Texture2D
filename String
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

Engine() public méthode

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

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

Render() public méthode

public Render ( ) : void
Résultat void

Update() protected méthode

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

currentEngine public_oe static_oe property

public static Engine,Dabrorius.MonoPunk currentEngine
Résultat Engine