C# Class SadRogueSharp.Consoles.MapConsole

Inheritance: SadConsole.Consoles.Console
Mostra 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_oe property

protected List entities
return List

map protected_oe property

protected IMap map
return IMap

player protected_oe property

protected Entities.Player player
return Entities.Player

random protected_oe property

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