/** * \brief Returns whether the entity's current position can be considered * as a place to come back after a bad ground (hole, deep water, etc). * * Returns is_touching_ground() by default. * * \return true if the entity can come back here */ bool Entity::State::can_come_from_bad_ground() const { return is_touching_ground(); }
/** * \brief Returns whether the hero's current position can be considered * as a place to come back after a bad ground (hole, deep water, etc). * * Returns is_touching_ground() by default. * * \return true if the hero can come back here */ bool Hero::State::can_come_from_bad_ground() { return is_touching_ground(); }