Package studio.magemonkey.fabled.cast
Class PlayerCastWheel
java.lang.Object
studio.magemonkey.fabled.cast.PlayerCastWheel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcast()booleanbooleanisEmpty()voidvoidvoidremove(PlayerSkill skill) voidsetCasting(boolean casting) voidunlock(PlayerSkill skill) Adds a skill to the available skills, if castablevoidvalidate(PlayerData data) int
-
Constructor Details
-
PlayerCastWheel
-
-
Method Details
-
validate
-
unlock
Adds a skill to the available skills, if castable- Parameters:
skill- skill to add
-
remove
-
isEmpty
public boolean isEmpty() -
wheelSize
public int wheelSize() -
getMessage
-
cast
public void cast() -
nextSkill
public void nextSkill() -
previousSkill
public void previousSkill() -
isCasting
public boolean isCasting() -
setCasting
public void setCasting(boolean casting)
-