Interface StatusEffect
- All Known Implementing Classes:
NPCStunStatusEffect
,PlayerInkedStatusEffect
,PlayerStunStatusEffect
public interface StatusEffect
A status effect that can be applied to an entity.
-
Method Summary
-
Method Details
-
create
Create the status effect and attach it to the entity.- Parameters:
entity
- Entity to attach to
-
start
void start()Start the effects of this status. Called whenever the status goes from inactive to active. -
update
void update()Run one frame of the status. Similar to the update() in Components. -
stop
void stop()Stop the effects of this status immediately. This can be called at any time.
-