extends gameObject class to support players