C# 클래스 StarterProject.CustomConsoles.HexConsole

상속: SadConsole.Consoles.Console
파일 보기 프로젝트 열기: Thraka/SadConsole

공개 메소드들

메소드 설명
GetHexCellIndex ( HexDirection direction, int sourceHex, bool isHexRow ) : int
HexConsole ( int width, int height ) : System
ProcessMouse ( MouseInfo info ) : bool
Update ( ) : void

비공개 메소드들

메소드 설명
FillHexes ( int index, int glyphIndex, bool isHexRow ) : void
SetGlyph ( int cellIndex, int glyphIndex ) : void

메소드 상세

GetHexCellIndex() 공개 메소드

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

HexConsole() 공개 메소드

public HexConsole ( int width, int height ) : System
width int
height int
리턴 System

ProcessMouse() 공개 메소드

public ProcessMouse ( MouseInfo info ) : bool
info SadConsole.Input.MouseInfo
리턴 bool

Update() 공개 메소드

public Update ( ) : void
리턴 void