Added isSpawned method to Stargate

This commit is contained in:
Bokros Bálint 2016-05-13 19:15:28 +02:00
parent 2fdb311315
commit d1a20ff5dc

View File

@ -52,6 +52,9 @@ public class Stargate {
} }
} }
public boolean isSpawned() {
return isSpawned;
}
public boolean isOpen() { public boolean isOpen() {
return isSpawned & other.isSpawned; return isSpawned & other.isSpawned;
} }