Implement script region check

This commit is contained in:
Melledy
2022-04-30 01:08:38 -07:00
parent 1ed46df6e8
commit 7e377dff59
7 changed files with 124 additions and 3 deletions

View File

@@ -34,6 +34,10 @@ public abstract class GameEntity {
return this.id;
}
public int getEntityType() {
return getId() >> 24;
}
public World getWorld() {
return this.getScene().getWorld();
}