public void addEntityUnprotected(Entity entity) throws LocationAddEntityException
	{
		if(entity==null)
			throw new LocationAddEntityException("Can't add a null entity to a room.");
		
		if(entitiesByDepth==null)
			entitiesByDepth=new HashMap<Integer,ArrayList<Entity>>();
		if(entitiesByDepth.get(entity.depth())==null)
			entitiesByDepth.put(entity.depth(), new ArrayList<Entity>());
		if(!entitiesByDepth.get(entity.depth()).contains(entity))
		{
			//System.out.println("adding entity----------------------");
			entitiesByDepth.get(entity.depth()).add(entity);
			entity.addListener(this);
		}
		else
		{
			throw new LocationAddEntityException("Entity already exists in this location.");
		}
	}