C# Class SadRogueSharp.Consoles.MapConsole

Inheritance: SadConsole.Consoles.Console
Show file Open project: Thraka/SadConsole Class Usage Examples

Protected Properties

Property Type Description
entities List
map IMap
player Entities.Player
random RogueSharp.Random.IRandom

Public Methods

Method Description
MapConsole ( int width, int height ) : System
ProcessKeyboard ( KeyboardInfo info ) : bool
Render ( ) : void
Update ( ) : void

Private Methods

Method Description
GenerateHound ( ) : void
GetRandomEmptyCell ( ) : RogueSharp.Cell
UpdatePlayerView ( ) : void

Method Details

MapConsole() public method

public MapConsole ( int width, int height ) : System
width int
height int
return System

ProcessKeyboard() public method

public ProcessKeyboard ( KeyboardInfo info ) : bool
info SadConsole.Input.KeyboardInfo
return bool

Render() public method

public Render ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

entities protected property

protected List entities
return List

map protected property

protected IMap map
return IMap

player protected property

protected Entities.Player player
return Entities.Player

random protected property

protected RogueSharp.Random.IRandom random
return RogueSharp.Random.IRandom