public boolean setOffset(Point paramPoint)
  {
    if ((paramPoint.x < 0) || (paramPoint.y < 0) || (paramPoint.x >= this.MapSize.width - WINDOWTILEWIDTH) || (paramPoint.y >= this.MapSize.height - WINDOWTILEHEIGHT))
    {
      return false;
    }

    this.NewOffset = paramPoint;

    repaint();

    return true;
  }