Beispiel #1
0
 /// <summary>
 /// Class Constructor.
 /// </summary>
 /// <param name="tile">Tile of actor.</param>
 public ConsoleTileActor(ConsoleActorMatrix matrix, Tile tile, int x = 0, int y = 0, int w = 1, int h = 1) : base(matrix, x, y, w, h)
 {
     this.tile = tile;
 }
Beispiel #2
0
 /// <summary>
 /// Class Constructor.
 /// </summary>
 /// <param name="piece">Piece of actor.</param>
 public ConsolePieceActor(ConsoleActorMatrix matrix, Piece piece, int x = 0, int y = 0, int w = 1, int h = 1) : base(matrix, x, y, w, h)
 {
     this.piece = piece;
 }
Beispiel #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(ConsoleActorMatrix matrix, int row = 0, int column = 0, int width = 1, int height = 1) : base(row, column, width, height)
 {
     this.Matrix = matrix;
 }