public class Passive extends Skill
Constructor and Description |
---|
Passive(Character character,
java.lang.String id,
java.lang.String imgName,
PassiveType skillType,
EffectType type,
java.util.List<Requirement> reqs,
java.util.List<java.lang.String> effects,
org.newdawn.slick.GameContainer gc)
Passive constructor
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates skill prepared skill
|
void |
deactivate() |
CharacterOut |
prepare(Character user,
Targetable target)
Prepares skill
|
void |
update(int delta)
Updates skill
|
draw, getActivateSound, getActiveAnim, getAvatarAnimType, getCastAnim, getCastSound, getCastTime, getCooldown, getEffect, getEffects, getEffectsIds, getEffectType, getId, getMaxStack, getName, getOwner, getSave, getSerialId, getTarget, getTile, isActive, isInstant, isMagic, isReady, reset, setCooldownTime, setReady
public Passive(Character character, java.lang.String id, java.lang.String imgName, PassiveType skillType, EffectType type, java.util.List<Requirement> reqs, java.util.List<java.lang.String> effects, org.newdawn.slick.GameContainer gc) throws org.newdawn.slick.SlickException, java.io.IOException, java.awt.FontFormatException
character
- Skill ownerid
- Skill IDimgName
- Skill icon image nameskillType
- Passive typetype
- Effect typereqs
- Use requirementseffects
- Skill activation effectsgc
- Slick game containerjava.io.IOException
org.newdawn.slick.SlickException
java.awt.FontFormatException
public void update(int delta)
Skill
public void activate()
Skill
public CharacterOut prepare(Character user, Targetable target)
Skill
public void deactivate()