C# Class WarTornLands.Level

Inheritance: Microsoft.Xna.Framework.GameComponent
Datei anzeigen Open project: floAr/WarTornLands Class Usage Examples

Public Methods

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

public AddCeiling ( int layer ) : void
layer int
return void

AddDynamics() public method

public AddDynamics ( Entity obj ) : void
obj Entity
return void

AddFloor() public method

public AddFloor ( int layer ) : void
layer int
return void

Draw() public method

public Draw ( GameTime gameTime, int layer ) : void
gameTime Microsoft.Xna.Framework.GameTime
layer int
return void

DrawEntities() public method

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

GetEntityAt() public method

public GetEntityAt ( Vector2 pixel ) : Entity
pixel Vector2
return Entity

Initialize() public method

public Initialize ( ) : void
return void

IsPixelAccessible() public method

public IsPixelAccessible ( Vector2 pixel ) : bool
pixel Vector2
return bool

IsPlayerAt() public method

public IsPlayerAt ( Vector2 pixel ) : bool
pixel Vector2
return bool

Level() public method

public Level ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

LoadContent() public method

public LoadContent ( ) : void
return void

Update() public method

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