public class SkillCaster
extends java.lang.Object
Constructor and Description |
---|
SkillCaster(Character character)
Skill caster constructor
|
Modifier and Type | Method and Description |
---|---|
void |
cast(Skill skill)
Casts specified skill
|
int |
getCastTime()
Return current casted skill cast time
|
int |
getTime()
Returns current cast time
|
boolean |
isCasting()
Checks if skill is casted by caster
|
void |
reset()
Resets caster
|
void |
update(int delta)
Updates skill caster
|
public SkillCaster(Character character)
character
- Game characterpublic void update(int delta)
delta
- Update deltapublic void cast(Skill skill)
skill
- Skill to castpublic void reset()
public boolean isCasting()
public int getTime()
public int getCastTime()