C# Class StarterProject.CustomConsoles.HexConsole

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

Méthodes publiques

Méthode Description
GetHexCellIndex ( HexDirection direction, int sourceHex, bool isHexRow ) : int
HexConsole ( int width, int height ) : System
ProcessMouse ( MouseInfo info ) : bool
Update ( ) : void

Private Methods

Méthode Description
FillHexes ( int index, int glyphIndex, bool isHexRow ) : void
SetGlyph ( int cellIndex, int glyphIndex ) : void

Method Details

GetHexCellIndex() public méthode

public GetHexCellIndex ( HexDirection direction, int sourceHex, bool isHexRow ) : int
direction HexDirection
sourceHex int
isHexRow bool
Résultat int

HexConsole() public méthode

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

ProcessMouse() public méthode

public ProcessMouse ( MouseInfo info ) : bool
info SadConsole.Input.MouseInfo
Résultat bool

Update() public méthode

public Update ( ) : void
Résultat void