Beispiel #1
0
 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();
 }
Beispiel #2
0
 public Player(int x, int y, Labyrinth inLabi) : base(x, y, inLabi)
 {
 }
Beispiel #3
0
 public Enemy(int x, int y, Labyrinth inLabi) : base(x, y, inLabi)
 {
 }
Beispiel #4
0
 public Entity(int x, int y, Labyrinth inLabi)
 {
     labyrinth = inLabi;
     this.x    = x;
     this.y    = y;
 }