engine/creatures/source/CreatureTileSafetyChecker.cpp
// Check to see if the tile is safe for the creature:
// - Is it safe for all tile type safety conditions?
// - Is it safe for all tile super type safety conditions?

Check to see if the tile is safe for the creature:
Is it safe for all tile type safety conditions.
Check to see if the tile is safe for the creature : Is it safe for all tile type safety conditions .
bool CreatureTileSafetyChecker::is_tile_safe_for_creature(CreaturePtr creature, TilePtr tile)
{
  bool tile_safe = false;
  if (creature && tile)
  {
    if (are_safety_conditions_satisfied(creature, tile, get_safety_conditions(tile->get_tile_type())) &&
        are_safety_conditions_satisfied(creature, tile, get_safety_conditions(tile->get_tile_super_type())))
    {
      tile_safe = true;
    }
  }
  return tile_safe;
}
bool CreatureTileSafetyChecker :: is_tile_safe_for_creature ( CreaturePtr creature , TilePtr tile ) { bool tile_safe = false ; if ( creature && tile ) { if ( are_safety_conditions_satisfied ( creature , tile , get_safety_conditions ( tile -> get_tile_type ( ) ) ) && are_safety_conditions_satisfied ( creature , tile , get_safety_conditions ( tile -> get_tile_super_type ( ) ) ) ) { tile_safe = true ; } } return tile_safe ; }
Check to see if the tile is safe for the creature:
 Is it safe for all tile type safety conditions?
Check to see if the tile is safe for the creature : Is it safe for all tile type safety conditions?