public class GenericCaster extends Object implements SkillCaster
SkillCaster
Constructor and Description |
---|
GenericCaster(AbstractEntity entity) |
Modifier and Type | Method and Description |
---|---|
AbstractEntity |
getEntity() |
int |
getGlobalCooldown()
Returns 0 if the caster has no global cooldown active, or the number of ticks if it does.
|
double |
getLevel() |
AbstractLocation |
getLocation() |
float |
getPower() |
boolean |
isUsingDamageSkill() |
void |
setGlobalCooldown(int gcd)
Sets the number of ticks the caster's global cooldown should be active
|
void |
setUsingDamageSkill(boolean b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChild, getAuraRegistry, getAuraStacks, getChildren, hasAura, registerAura, unregisterAura
public GenericCaster(AbstractEntity entity)
public AbstractEntity getEntity()
getEntity
in interface SkillCaster
public AbstractLocation getLocation()
getLocation
in interface SkillCaster
public void setUsingDamageSkill(boolean b)
setUsingDamageSkill
in interface SkillCaster
public boolean isUsingDamageSkill()
isUsingDamageSkill
in interface SkillCaster
public double getLevel()
getLevel
in interface SkillCaster
public float getPower()
getPower
in interface SkillCaster
public int getGlobalCooldown()
SkillCaster
getGlobalCooldown
in interface SkillCaster
public void setGlobalCooldown(int gcd)
SkillCaster
setGlobalCooldown
in interface SkillCaster
Copyright © 2020. All rights reserved.