C# Class GameCommon.Box

显示文件 Open project: nzhul/TelerikAcademy Class Usage Examples

Public Properties

Property Type Description
isCursorPosition bool
isSelected bool

Public Methods

Method Description
Box ( ) : System
Box ( int x, int y, char symbol, ConsoleColor color ) : System
Box ( int x, int y, char symbol, ConsoleColor color, bool isSelected, bool isCursorPosition ) : System
DrawBox ( ) : void
InitBox ( char symbol ) : void

Method Details

Box() public method

public Box ( ) : System
return System

Box() public method

public Box ( int x, int y, char symbol, ConsoleColor color ) : System
x int
y int
symbol char
color ConsoleColor
return System

Box() public method

public Box ( int x, int y, char symbol, ConsoleColor color, bool isSelected, bool isCursorPosition ) : System
x int
y int
symbol char
color ConsoleColor
isSelected bool
isCursorPosition bool
return System

DrawBox() public method

public DrawBox ( ) : void
return void

InitBox() public method

public InitBox ( char symbol ) : void
symbol char
return void

Property Details

isCursorPosition public_oe property

public bool isCursorPosition
return bool

isSelected public_oe property

public bool isSelected
return bool