public void Play() { bool alive = true; bool win = false; theseus = new Theseus(0, 2);//these should probably be in the map creation method minotaur = new Minotaur(1, 0); this.PrintMap2(); while (alive && !win) { win = TheseusTurn(); alive = MinotaurTurn(); } }
void updatePosition(ref Minotaur theThing, string direction) { //switch case statement for each direction switch (direction) { case "up": theThing.Position.Y -= 1; break; case "down": theThing.Position.Y += 1; break; case "left": theThing.Position.X -= 1; break; case "right": theThing.Position.X += 1; break; } }
public void Initialise() { CreateMap(); Theseus = new Theseus(1, 2); Minotaur = new Minotaur(1, 0); }