public class OPlayer
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
OPlayer() |
Modifier and Type | Method and Description |
---|---|
void |
addEffect(OEffect e) |
void |
addSoul() |
java.util.List<OEffect> |
getEffects() |
int |
getPower() |
int |
getSouls() |
Spells |
getSpell() |
java.util.Map<Spells,java.lang.Integer> |
getSpellCount() |
boolean |
isInvisible() |
boolean |
isMuggleton()
Has the player been rendered invisible from all other players by repello muggleton
|
void |
remEffect(OEffect e) |
void |
resetEffects() |
void |
resetSouls() |
void |
resetSpellCount() |
void |
setInvisible(boolean invisible) |
void |
setMuggleton(boolean mug) |
void |
setPower(int power) |
void |
setSpell(Spells s) |
void |
setSpellCount(java.util.Map<Spells,java.lang.Integer> map) |
void |
subSoul() |
public java.util.Map<Spells,java.lang.Integer> getSpellCount()
public void setSpellCount(java.util.Map<Spells,java.lang.Integer> map)
public Spells getSpell()
public void setSpell(Spells s)
public void resetSpellCount()
public int getSouls()
public void resetSouls()
public void addSoul()
public void subSoul()
public java.util.List<OEffect> getEffects()
public void addEffect(OEffect e)
public void remEffect(OEffect e)
public void resetEffects()
public boolean isInvisible()
public void setInvisible(boolean invisible)
public boolean isMuggleton()
public void setMuggleton(boolean mug)
public int getPower()
public void setPower(int power)