Package zombie.characters
Class IsoGameCharacter.XP
java.lang.Object
zombie.characters.IsoGameCharacter.XP
- Enclosing class:
- IsoGameCharacter
public class IsoGameCharacter.XP
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description int
lastlevel
int
level
float
TotalXP
java.util.HashMap
XPMap
java.util.HashMap
XPMapMultiplier
-
Constructor Summary
Constructors Constructor Description XP(IsoGameCharacter gameCharacter)
-
Method Summary
Modifier and Type Method Description void
AddXP(PerkFactory.Perk perk, float float1)
void
AddXP(PerkFactory.Perk perk, float float1, boolean boolean1)
void
AddXP(PerkFactory.Perk perk, float float1, boolean boolean1, boolean boolean2)
void
AddXP(PerkFactory.Perk perk, float float1, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4)
void
AddXP(HandWeapon handWeapon, int int1)
void
addXpMultiplier(PerkFactory.Perk perk, float float1, int int1, int int2)
void
AddXPNoMultiplier(PerkFactory.Perk perk, float float1)
int
getLevel()
float
getMultiplier(PerkFactory.Perk perk)
java.util.HashMap
getMultiplierMap()
int
getPerkBoost(PerkFactory.Perk perk)
float
getTotalXp()
float
getXP(PerkFactory.Perk perk)
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
save(java.nio.ByteBuffer byteBuffer)
void
setLevel(int int1)
void
setTotalXP(float float1)
void
setXPToLevel(PerkFactory.Perk perk, int int1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
level
public int level -
lastlevel
public int lastlevel -
TotalXP
public float TotalXP -
XPMap
public java.util.HashMap XPMap -
XPMapMultiplier
public java.util.HashMap XPMapMultiplier
-
-
Constructor Details
-
XP
-
-
Method Details
-
addXpMultiplier
-
getMultiplierMap
public java.util.HashMap getMultiplierMap() -
getMultiplier
-
getPerkBoost
-
getLevel
public int getLevel() -
setLevel
public void setLevel(int int1) -
getTotalXp
public float getTotalXp() -
AddXP
-
AddXPNoMultiplier
-
AddXP
-
AddXP
-
AddXP
public void AddXP(PerkFactory.Perk perk, float float1, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4) -
getXP
-
AddXP
-
setTotalXP
public void setTotalXP(float float1) -
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
setXPToLevel
-