//Stats //lvl,Hp,Exp,Mana,Gold //StatsofPower:STR,INT,AGI public Player(AbstractRoom spawnPoint, int x, int y) { RigidBody = new RigidBodyRec(LocationX, LocationY, 30, 60);//size of player SpawnPoint = spawnPoint; CurrentRoom = SpawnPoint; LocationX = x; LocationY = y; Speed = (decimal)5; ISMoving = false; }
} // Set the difficulty of castle public void addRoom(AbstractRoom room) { Rooms.Add(room); }
public Door(AbstractRoom from, AbstractRoom to) { From = from; To = to; }