defined game object functionality prototype