@Override
			public void mouseClicked(MouseEvent mouse) 
			{
				int x = mouse.getX(), y = mouse.getY();
				
				for(Settlement s : Empire.getInstance().SETTLEMENTS.values())
				{
					s.setSelected(false);
				}
				
				
				for(Settlement s : Empire.getInstance().SETTLEMENTS.values())
				{
					if(s.getXPosition() >= x - 25 && s.getXPosition() <= x + 25 && s.getYPosition() >= y - 25 && s.getYPosition() <= y + 25)
					{
						s.setSelected(true);
						sideMenu.remove(properties);
						sideMenu.revalidate();
						properties = EmpireDrawer.getInstance().new SettlementActionWindow(s);
						sideMenu.add(properties);
						sideMenu.revalidate();
						empireFrame.repaint();
						
						return;
					}
					
				}
				
				ArrayList<Creature> selectedList = new ArrayList<>();
				
				//synchronized(creaturesListGuard)
				{
					for(Creature c : Empire.getInstance().CREATURES)
					{
						if(c.getXPosition() >= x - 15 && c.getXPosition() <= x + 15 && c.getYPosition() >= y - 15 && c.getYPosition() <= y + 15)
						{
							/*if(c.getClass() == BarbarianHorde.class)
							{
								c.setSelected(true);
								c.speak();
							}
							else*/
							{
								c.setSelected(true);
								c.speak();
								selectedList.add(c);
								
								sideMenu.remove(properties);
								sideMenu.revalidate();
								
								if(c.getClass() == Merchant.class)
								{
									properties = EmpireDrawer.getInstance().new MerchantActionWindow(selectedList);
								}
								else if (c.getClass() == RomanLegion.class)
								{
									properties = EmpireDrawer.getInstance().new RomanLegionActionWindow(selectedList);
								}
								else if(c.getClass() == BarbarianHorde.class)
								{
									properties = EmpireDrawer.getInstance().new BarbarianHordeActionWindow(selectedList);
								}
								
								sideMenu.add(properties);
								sideMenu.revalidate();
								empireFrame.repaint();
							}
							return;
						}
					}
				}
				
				
				sideMenu.remove(properties);
				sideMenu.revalidate();
				properties = EmpireDrawer.getInstance().new ActionWindow();
				sideMenu.add(properties);
				sideMenu.revalidate();
				empireFrame.repaint();

				
				
			}