Type Figure::getP(Figure *square, bool update)
{
    return perimetr(square,  update);
}
Ejemplo n.º 2
0
inline gfx::TilesArray Statistic::_Map::around( T overlay ) const
{
  TilePos start = overlay->pos() - gfx::tilemap::unitLocation();
  TilePos stop = start + TilePos( overlay->size().width(), overlay->size().height() );
  return perimetr( start, stop );
}