Пример #1
0
 public Player(int X = 0, int Y = 0, gameElements Description = gameElements.Player, byte health = 5, direction direction = direction.Stop, int score = 0) : base(X, Y, Description, health, direction)
 {
     Description = gameElements.Player;
     Direction   = direction.Stop;
     base.health = health;
     Score       = 0;
 }
Пример #2
0
 public Cell(gameElements Description, char Symbol = ' ', ConsoleColor FrontColor = ConsoleColor.White, ConsoleColor BackColor = ConsoleColor.Black)
 {
     description = Description;
     DefoultCellSettings();
 }
Пример #3
0
 public AnimateObject(int X, int Y, gameElements Description, byte health, direction direction) : base(X, Y, Description)
 {
     CellThatWasHere = gameElements.Empty;
     this.health     = health;
     Direction       = direction;
 }
Пример #4
0
 public InanimateObjects(int X, int Y, gameElements Description) : base(X, Y, Description)
 {
 }
Пример #5
0
 public GameObject(int x, int y, gameElements description)
 {
     X           = x;
     Y           = y;
     Description = description;
 }