C# Class DodongosQuest.Terrain.Terrain

Inheritance: ITerrain
Mostrar archivo Open project: faintpixel/Roguelike

Public Methods

Method Description
AffectCreature ( ICreature creature ) : void
CanCreatureEnter ( ICreature creature ) : bool
Draw ( GameTime gameTime ) : void
DrawMiniMap ( GameTime gameTime, Vector2 position ) : void
Terrain ( string name, Microsoft.Xna.Framework.Graphics.Texture2D tileImage, bool obstructsLineOfSight, List allowedMovementTypes, Color miniMapColor, Vector2 worldIndex, World world ) : System
Update ( GameTime gameTime ) : void

Method Details

AffectCreature() public method

public AffectCreature ( ICreature creature ) : void
creature ICreature
return void

CanCreatureEnter() public method

public CanCreatureEnter ( ICreature creature ) : bool
creature ICreature
return bool

Draw() public method

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

DrawMiniMap() public method

public DrawMiniMap ( GameTime gameTime, Vector2 position ) : void
gameTime Microsoft.Xna.Framework.GameTime
position Vector2
return void

Terrain() public method

public Terrain ( string name, Microsoft.Xna.Framework.Graphics.Texture2D tileImage, bool obstructsLineOfSight, List allowedMovementTypes, Color miniMapColor, Vector2 worldIndex, World world ) : System
name string
tileImage Microsoft.Xna.Framework.Graphics.Texture2D
obstructsLineOfSight bool
allowedMovementTypes List
miniMapColor Color
worldIndex Vector2
world World
return System

Update() public method

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