예제 #1
0
 public void removeObject(GameObject object) {
   blocked[(int) (object.getX() / 32)][(int) (object.getY() / 32)] = false;
   triad.remove(object);
 }
예제 #2
0
 public void registerObject(GameObject object) {
   blocked[(int) (object.getX() / 32)][(int) (object.getY() / 32)] = true;
   triad.register((int) (object.getX() / 32), (int) (object.getY() / 32), object);
 }