示例#1
0
 /// <summary>
 /// Class Constructor.
 /// </summary>
 /// <param name="piece">Piece of actor.</param>
 public ConsolePieceActor(ConsoleRenderConfig renderConfig, Piece piece, int x = 0, int y = 0, int w = 1, int h = 1) : base(renderConfig, x, y, w, h)
 {
     this.piece = piece;
 }
示例#2
0
 /// <summary>
 /// Class Constructor.
 /// </summary>
 /// <param name="tile">Tile of actor.</param>
 public ConsoleTileActor(ConsoleRenderConfig renderConfig, Tile tile, int x = 0, int y = 0, int w = 1, int h = 1) : base(renderConfig, x, y, w, h)
 {
     this.tile = tile;
 }
示例#3
0
 /// <summary>
 /// Class Constructor.
 /// </summary>
 /// <param name="row">Row position in the console.</param>
 /// <param name="column">Column position in the console.</param>
 /// <param name="width">Amount of rows to fill.</param>
 /// <param name="height">Amount of columns to fill.</param>
 public ConsoleActor(ConsoleRenderConfig renderConfig, int row = 0, int column = 0, int width = 1, int height = 1) : base(row, column, width, height)
 {
     this.RenderConfig = renderConfig;
 }