private void Init() { player = new Player(1, 1, labyrinth); labyrinth = new Labyrinth(); labyrinth.GenerateWalls(); labyrinth.DisplayWalls(); player = new Player(1, 1, labyrinth); enemy1 = new Enemy(labyrinth.winX, labyrinth.winY, labyrinth); DisplayPlayer(); }
public Player(int x, int y, Labyrinth inLabi) : base(x, y, inLabi) { }
public Enemy(int x, int y, Labyrinth inLabi) : base(x, y, inLabi) { }
public Entity(int x, int y, Labyrinth inLabi) { labyrinth = inLabi; this.x = x; this.y = y; }