Пример #1
0
 protected void createParty()
 {
     party = new Party();
     Weapon wep = new Weapon("Awesomeness", "Sword", 300, 1, Hands.One, 100, 10, 200, 2);
     party.addWeapon(wep);
     Key key = new Key("Some Key");
     party.addKey(key);
 }
Пример #2
0
        protected void createParty()
        {
            party = new Party();
            Weapon wep = new Weapon("Awesomeness", "Sword", 300, 1, Hands.One, 100, 10, 200, 2);
            party.addWeapon(wep);

            Key key = new Key("Scepter");
            party.addKey(key);

            Key key2 = new Key("Red Key");
            party.addKey(key2);
            Key key3 = new Key("Purple Key");
            party.addKey(key3);
            Key key4 = new Key("Jail Cell Key");
            party.addKey(key4);
            Key key5 = new Key("Blue Key");
            party.addKey(key5);
            Key key6 = new Key("Green Key");
            party.addKey(key6);
            Key key7 = new Key("Orange Key");
            party.addKey(key7);
            Key key8 = new Key("Yellow Key");
            party.addKey(key8);
        }