*/
protected boolean isTilePlacementValid (int x, int y, Tile tile)
{
if (tile instanceof ObjectTile) {
// create a temporary scene object for this tile
SceneObject nobj = new SceneObject(this, new ObjectInfo(0, x, y), (ObjectTile)tile);
// report invalidity if overlaps any existing objects
int ocount = _vizobjs.size();
for (int ii = 0; ii < ocount; ii++) {
SceneObject scobj = _vizobjs.get(ii);
if (scobj.objectFootprintOverlaps(nobj)) {
return false;
}
}
}