forked from SteamWar/SteamWar
Add DynamicRegion.shouldPathConnect
This commit is contained in:
@@ -32,9 +32,8 @@ public enum RegionType {
|
||||
*/
|
||||
NORMAL(ConnectionType.Plot),
|
||||
|
||||
SPAWN(ConnectionType.Plot),
|
||||
SPAWN_PATH(ConnectionType.Path),
|
||||
SPAWN_EXTENSION(ConnectionType.Plot),
|
||||
SPAWN(ConnectionType.Void),
|
||||
SPAWN_EXTENSION(ConnectionType.Void),
|
||||
PATH(ConnectionType.Path),
|
||||
|
||||
DRY(ConnectionType.Void),
|
||||
@@ -58,11 +57,7 @@ public enum RegionType {
|
||||
}
|
||||
|
||||
public boolean isSpawn() {
|
||||
return this == SPAWN || this == SPAWN_PATH || this == SPAWN_EXTENSION;
|
||||
}
|
||||
|
||||
public boolean isPath() {
|
||||
return this == PATH || this == SPAWN_PATH;
|
||||
return this == SPAWN || this == SPAWN_EXTENSION;
|
||||
}
|
||||
|
||||
public enum ConnectionType {
|
||||
|
||||
Reference in New Issue
Block a user