예제 #1
0
        //new game

        /* public MainCharacter()
         * {
         *
         * }*/
        //load game
        public void allSet(int level, int level_progress, Point Location, d3vector Stats, Item[,] Inventory, Equipment Equip, int unused, int Gold, int health)
        {
            this.level          = level;
            this.level_Progress = level_progress;
            this.location       = Location;
            this.stats          = Stats;
            this.inventory      = Inventory;
            this.equipment      = Equip;
            this.unused_Stats   = unused;
            this.gold           = Gold;
            this.level_up_exp   = 100 * stepen(level);
            this.calculate_bonus();
            this.heal(100, true);
            this.bonuses.health = 0;
            this.heal(health, true);
        }
예제 #2
0
 //Constructors
 public Legs(String Name, d3vector Requirements, Osobini Bonus, int mValue, int value, String img)
     : base(Name, Requirements, Bonus, mValue, value, img)
 {
 }
예제 #3
0
 //Constructors
 public OrnsteinSpear(String Name, d3vector Requirements, Osobini Bonus, int pom1, int pom2, String img)
     : base(Name, Requirements, Bonus, pom1, pom2, img)
 {
 }
예제 #4
0
 //Constructors
 public Sword(String Name, d3vector Requirements, Osobini Bonus, int pom1, int pom2, String img)
     : base(Name, Requirements, Bonus, pom1, pom2, img)
 {
 }