2012-04-11 09:42:05 -06:00
|
|
|
inline bool getassignment( const df::coord2d &xy )
|
|
|
|
{
|
2012-04-19 01:03:29 -06:00
|
|
|
return tile_bitmask.getassignment(xy);
|
2012-04-11 09:42:05 -06:00
|
|
|
}
|
|
|
|
inline bool getassignment( int x, int y )
|
|
|
|
{
|
2012-04-19 01:03:29 -06:00
|
|
|
return tile_bitmask.getassignment(x,y);
|
2012-04-11 09:42:05 -06:00
|
|
|
}
|
|
|
|
inline void setassignment( const df::coord2d &xy, bool bit )
|
|
|
|
{
|
2012-04-19 01:03:29 -06:00
|
|
|
return tile_bitmask.setassignment(xy, bit);
|
2012-04-11 09:42:05 -06:00
|
|
|
}
|
|
|
|
inline void setassignment( int x, int y, bool bit )
|
|
|
|
{
|
2012-04-19 01:03:29 -06:00
|
|
|
return tile_bitmask.setassignment(x, y, bit);
|
2012-04-14 04:12:59 -06:00
|
|
|
}
|
|
|
|
bool has_assignments()
|
|
|
|
{
|
2012-04-19 01:03:29 -06:00
|
|
|
return tile_bitmask.has_assignments();
|
2012-04-14 04:12:59 -06:00
|
|
|
}
|
2012-04-19 01:03:29 -06:00
|
|
|
|