Mutual status effect transitions

This commit is contained in:
Anuken
2021-01-24 14:20:48 -05:00
parent 9f926ef71e
commit baedba0d5b
3 changed files with 10 additions and 5 deletions

View File

@@ -61,6 +61,10 @@ abstract class StatusComp implements Posc, Flyingc{
statuses.add(entry);
}
void clearStatuses(){
statuses.clear();
}
/** Removes a status effect. */
void unapply(StatusEffect effect){
statuses.remove(e -> {