public void moveEntity(Entity e, int dx, int dy)
	{
		//move entity
		//attempt to animate the movement
		
		//if cursor...
		if (e==input.entity)
		{
			//if within the map boundaries (0,0) to (map[0].length, map.length)...
			if (! (e.x+dx < 0 || e.y+dy < 0 || e.x+dx >= map[0].length || e.y+dy >= map.length))
			{
				e.x += dx;
				e.y += dy;
				//e._x = - dx * DEFAULT_TILE_SIZE;
				//e._y = - dy * DEFAULT_TILE_SIZE;
				//this.moveCamera(-dx * DEFAULT_TILE_SIZE, -dy * DEFAULT_TILE_SIZE);
				this.moveCamera(dx, dy);
			}
			else {
				System.err.println("Attempted to take cursor outside of map! " + (e.x+dx) + " " + (e.y+dy) + "");
				messages.add("Attempted to take entity outside of map! " + (e.x+dx) + " " + (e.y+dy) + "");
			}
		}
		else
		{
			if (! (e.x+dx < 0 || e.y+dy < 0 || e.x+dx >= map[0].length || e.y+dy >= map.length))
			{
				e.x += dx;
				e.y += dy;
				//e._x = - dx * DEFAULT_TILE_SIZE;
				//e._y = - dy * DEFAULT_TILE_SIZE;
				//this.moveCamera(-dx * DEFAULT_TILE_SIZE, -dy * DEFAULT_TILE_SIZE);
				//this.moveCamera(dx, dy);
			}
			else {
				//System.err.println("Attempted to take cursor outside of map! " + (e.x+dx) + " " + (e.y+dy) + "");
				messages.add("Attempted to take entity outside of map! " + (e.x+dx) + " " + (e.y+dy) + "");
			}
		}
		
	}