v0.3.3: added char properties, starting with IMMOVABLE implementation
This commit is contained in:
@@ -447,4 +447,16 @@ public abstract class Char extends Actor {
|
||||
public HashSet<Class<?>> immunities() {
|
||||
return EMPTY;
|
||||
}
|
||||
|
||||
protected HashSet<Property> properties = new HashSet<>();
|
||||
|
||||
public HashSet<Property> properties() { return properties; }
|
||||
|
||||
public enum Property{
|
||||
BOSS,
|
||||
MINIBOSS,
|
||||
UNDEAD,
|
||||
EVIL,
|
||||
IMMOVABLE
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user