Update GameObject.java

- Chaged object visibility