C# Class WarTornLands.Level

Inheritance: Microsoft.Xna.Framework.GameComponent
Afficher le fichier Open project: floAr/WarTornLands Class Usage Examples

Méthodes publiques

Méthode Description
AddCeiling ( int layer ) : void
AddDynamics ( Entity obj ) : void
AddFloor ( int layer ) : void
Draw ( GameTime gameTime, int layer ) : void
DrawEntities ( GameTime gameTime ) : void
GetEntityAt ( Vector2 pixel ) : Entity
Initialize ( ) : void
IsPixelAccessible ( Vector2 pixel ) : bool
IsPlayerAt ( Vector2 pixel ) : bool
Level ( Microsoft.Xna.Framework.Game game ) : System
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

AddCeiling() public méthode

public AddCeiling ( int layer ) : void
layer int
Résultat void

AddDynamics() public méthode

public AddDynamics ( Entity obj ) : void
obj Entity
Résultat void

AddFloor() public méthode

public AddFloor ( int layer ) : void
layer int
Résultat void

Draw() public méthode

public Draw ( GameTime gameTime, int layer ) : void
gameTime Microsoft.Xna.Framework.GameTime
layer int
Résultat void

DrawEntities() public méthode

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

GetEntityAt() public méthode

public GetEntityAt ( Vector2 pixel ) : Entity
pixel Vector2
Résultat Entity

Initialize() public méthode

public Initialize ( ) : void
Résultat void

IsPixelAccessible() public méthode

public IsPixelAccessible ( Vector2 pixel ) : bool
pixel Vector2
Résultat bool

IsPlayerAt() public méthode

public IsPlayerAt ( Vector2 pixel ) : bool
pixel Vector2
Résultat bool

Level() public méthode

public Level ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
Résultat System

LoadContent() public méthode

public LoadContent ( ) : void
Résultat void

Update() public méthode

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