public void MouseDown(int x, int y, int whichButton)
{
if (whichButton == 1)
{
if (_taskBar.MouseDown(x, y, whichButton))
{
return;
}
if (_windowShowing != null)
{
_windowShowing.MouseDown(x, y);
return;
}
if (_gameMain.EmpireManager.CurrentEmpire.SelectedSystem != null)
{
if (_systemView.MouseDown(x, y))
{
return;
}
}
else if (_gameMain.EmpireManager.CurrentEmpire.SelectedFleetGroup != null)
{
if (_fleetView.MouseDown(x, y))
{
return;
}
}
}
}