C# Class StarterProject.CustomConsoles.HexConsole

Inheritance: SadConsole.Consoles.Console
显示文件 Open project: Thraka/SadConsole

Public Methods

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

Private Methods

Method Description
FillHexes ( int index, int glyphIndex, bool isHexRow ) : void
SetGlyph ( int cellIndex, int glyphIndex ) : void

Method Details

GetHexCellIndex() public method

public GetHexCellIndex ( HexDirection direction, int sourceHex, bool isHexRow ) : int
direction HexDirection
sourceHex int
isHexRow bool
return int

HexConsole() public method

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

ProcessMouse() public method

public ProcessMouse ( MouseInfo info ) : bool
info SadConsole.Input.MouseInfo
return bool

Update() public method

public Update ( ) : void
return void