Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public void removeObject(GameObject object) {
  2. this.object.remove(object);
  3. }
  4.  
  5. public void update() {
  6. synchronized (object) {
  7. for (int i = 0; i < object.size(); i++) {
  8. tempObject = object.get(i);
  9. tempObject.update(object);
  10. }
  11. }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement