/*
 * The MIT License
 *
 * Copyright 2017 Zyun.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package MonsterQuest.game.player;

/**
 *
 * @author Zyun
 */
public class Player {
    public String name;
    public PlayerType playerType;
    public boolean gender;
    public int Level;
    public int Experience;
    public int Attack;
    public int Defense;
    public int Speed;
    public int Gold;
    public static final boolean BOY = true;
    public static final boolean GIRL = false;
    /**Player ()
     * This defines the default stats for player
     */
    public Player() {
        this.Level = 0;
        this.Experience = 0;
        this.Attack = 0;
        this.Defense = 0;
        this.Speed = 0;
        this.Gold = 0;
    }

    public Player(int Level, int Experience, int Attack, int Defense, int Speed, int Gold) {
        this.Level = Level;
        this.Experience = Experience;
        this.Attack = Attack;
        this.Defense = Defense;
        this.Speed = Speed;
        this.Gold = Gold;
    }
    
    public void setName (String name) {
        this.name = name;
    }
    
    public void setLevel (int level) {
        this.Level = level;
    }
    
    public void setGender (boolean gender) {
        this.gender = gender;
    }
}

@@ -1399,79 +1399,218 @@
 tack
-;%0D%0A    public int Defense;%0D%0A    public int Speed;%0D%0A    public int Gold;
+Lv;%0D%0A    public int Attack;%0D%0A    public int DefenseLv;%0D%0A    public int Defense;%0D%0A    public int SpeedLv;%0D%0A    public int Speed;%0D%0A    public int Gold;%0D%0A    //Need to add the inventory arraylist, and weapon slots
 %0D%0A  
@@ -1710,17 +1710,8 @@
  /**
-Player ()
 %0D%0A  
@@ -1864,19 +1864,48 @@
 s.Attack
+Lv
  = 
+1;%0D%0A        this.Attack = 1
 0;%0D%0A    
@@ -1920,19 +1920,49 @@
 .Defense
+Lv
  = 
+1;%0D%0A        this.Defense = 1
 0;%0D%0A    
@@ -1975,19 +1975,47 @@
 is.Speed
+Lv
  = 
+1;%0D%0A        this.Speed = 1
 0;%0D%0A    
@@ -2030,16 +2030,17 @@
 .Gold = 
+1
 0;%0D%0A    
@@ -2062,16 +2062,39 @@
  Player(
+PlayerType playerType, 
 int Leve
@@ -2126,144 +2126,295 @@
 tack
-, int Defense, int Speed, int Gold) %7B%0D%0A        this.Level = Level;%0D%0A        this.Experience = Experience;%0D%0A        this.Attack = Attack;
+Lv, int Attack, int DefenseLv, int Defense, int SpeedLv, int Speed, int Gold) %7B%0D%0A        this.playerType = playerType;%0D%0A        this.Level = Level;%0D%0A        this.Experience = Experience;%0D%0A        this.AttackLv = AttackLv%0D%0A        this.Attack = Attack;%0D%0A        this.DefenseLv = DefenseLv
 %0D%0A  
@@ -2440,24 +2440,56 @@
 = Defense;%0D%0A
+        this.SpeedLv = SpeedLv%0D%0A
         this
@@ -2792,11 +2792,270 @@
 %0A    %7D%0D%0A
+    %0D%0A    /** This is to init the player, but it doesn't directly init the object. Rather, it reads from the file, and returns a player object%0D%0A     * @param file the filename to read from%0D%0A     */%0D%0A    public static Player PlayerInit (String file) %7B%0D%0A    %7D%0D%0A
 %7D%0D%0A

Update Player.java