added new method Entity::getGame