Esempio n. 1
0
 public Player(string name, int maxHp, int currentHp, int exp, int level, int fightSkill, List <Item> items)
 {
     this.currentLocation = FirstCity.getFirstCity();
     this.equippedWeapon  = new BasicSword();
     this.name            = name;
     this.maxHp           = maxHp;
     this.currentHp       = currentHp;
     this.exp             = exp;
     this.level           = level;
     this.fightSkill      = fightSkill;
     this.items           = items;
     calculateMinAtk();
     calculateMaxAtk();
 }
Esempio n. 2
0
        public List <Location> getAllLocations()
        {
            List <Location> locations = new List <Location>();

            locations.Add(FirstCity.getFirstCity());
            locations.Add(new SewerSub1());
            locations.Add(SewerSub2.getSewerSub2());
            locations.Add(OakForest.getOakForest());
            locations.Add(LeakDesert.getLeakDesert());



            return(locations);
        }