public class Buff extends Actor
Constructor and Description |
---|
Buff() |
Modifier and Type | Method and Description |
---|---|
boolean |
act() |
static <T extends Buff> |
affect(Char target,
java.lang.Class<T> buffClass) |
static <T extends FlavourBuff> |
affect(Char target,
java.lang.Class<T> buffClass,
float duration) |
boolean |
attachTo(Char target) |
void |
detach() |
static void |
detach(Buff buff) |
static void |
detach(Char target,
java.lang.Class<? extends Buff> cl) |
int |
icon() |
static <T extends FlavourBuff> |
prolong(Char target,
java.lang.Class<T> buffClass,
float duration) |
add, addDelayed, all, clear, dontPack, findChar, fixTime, freeCell, init, next, occupyCell, process, processReaTime, remove, restoreFromBundle, storeInBundle
public Char target
public boolean attachTo(Char target)
public void detach()
public boolean act()
public int icon()
public static <T extends FlavourBuff> T affect(Char target, java.lang.Class<T> buffClass, float duration)
public static <T extends FlavourBuff> T prolong(Char target, java.lang.Class<T> buffClass, float duration)
public static void detach(Buff buff)