示例#1
0
        //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;
        }
示例#2
0
        }                            // Set the difficulty of castle

        public void addRoom(AbstractRoom room)
        {
            Rooms.Add(room);
        }
示例#3
0
 public Door(AbstractRoom from, AbstractRoom to)
 {
     From = from;
     To   = to;
 }