public void randomisePosition() {
		Map<RenderPriority, Set<Entity>> entities = Main.getGamestate().getEntities();
		
		x = 0;
		y = 0;
		boolean found = true;
		while (found) {
			found = false;
			x = random.nextInt(Main.xLen);
			y = random.nextInt(Main.yLen);
			for (int i = 0; i <= 4; i++) {
				if (entities.containsKey(RenderPriority.getRenderPriorityFromId(i))) {
					for (Entity entity : entities.get(RenderPriority.getRenderPriorityFromId(i))) {
						if (!entity.equals(this) && entity.getX() == x && entity.getY() == y) {
							found = true;
						}
					}
				}
			}
		}
	}