implement PlayerStats
This commit is contained in:
@@ -1,4 +1,35 @@
|
|||||||
package org.project.entity.players;
|
package org.project.entity.players;
|
||||||
|
|
||||||
public class PlayerStats {
|
public class PlayerStats {
|
||||||
|
|
||||||
|
//Mana cost
|
||||||
|
public final int heavyAttackManaCost;
|
||||||
|
public final int defendManaCost;
|
||||||
|
public final int healManaCost;
|
||||||
|
public final int specialAbilityManaCost;
|
||||||
|
|
||||||
|
//Damages
|
||||||
|
public final int lightAttackDamage;
|
||||||
|
public final int heavyAttackDamage;
|
||||||
|
public final int specialAbilityDamage;
|
||||||
|
|
||||||
|
|
||||||
|
public final int maxHP;
|
||||||
|
public final int maxMP;
|
||||||
|
|
||||||
|
public PlayerStats(int heavyAttackManaCost, int defendManaCost, int healManaCost,int specialAbilityManaCost,
|
||||||
|
int lightAttackDamage, int heavyAttackDamage, int specialAbilityDamage, int maxHP, int maxMP) {
|
||||||
|
|
||||||
|
this.heavyAttackManaCost = heavyAttackManaCost;
|
||||||
|
this.defendManaCost = defendManaCost;
|
||||||
|
this.healManaCost = healManaCost;
|
||||||
|
this.specialAbilityManaCost = specialAbilityManaCost;
|
||||||
|
this.lightAttackDamage = lightAttackDamage;
|
||||||
|
this.heavyAttackDamage = heavyAttackDamage;
|
||||||
|
this.specialAbilityDamage = specialAbilityDamage;
|
||||||
|
this.maxHP = maxHP;
|
||||||
|
this.maxMP = maxMP;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user