C# Class SadRogueSharp.Consoles.MapConsole

Inheritance: SadConsole.Consoles.Console
Afficher le fichier Open project: Thraka/SadConsole Class Usage Examples

Protected Properties

Свойство Type Description
entities List
map IMap
player Entities.Player
random RogueSharp.Random.IRandom

Méthodes publiques

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

Private Methods

Méthode Description
GenerateHound ( ) : void
GetRandomEmptyCell ( ) : RogueSharp.Cell
UpdatePlayerView ( ) : void

Method Details

MapConsole() public méthode

public MapConsole ( int width, int height ) : System
width int
height int
Résultat System

ProcessKeyboard() public méthode

public ProcessKeyboard ( KeyboardInfo info ) : bool
info SadConsole.Input.KeyboardInfo
Résultat bool

Render() public méthode

public Render ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

entities protected_oe property

protected List entities
Résultat List

map protected_oe property

protected IMap map
Résultat IMap

player protected_oe property

protected Entities.Player player
Résultat Entities.Player

random protected_oe property

protected RogueSharp.Random.IRandom random
Résultat RogueSharp.Random.IRandom