@Override
	public void move(Set<Direction> directions)
	{
		//for each direction the player wants to move in
		for(Direction direction : directions)
		{
			//if that direction is not one that is in the direction of a collision
			if(!collisions.contains(direction))
			{
				//move
				switch(direction)
				{
				case BOTTOM:
					y += speed;
					break;
				case TOP:
					y -= speed;
					break;
				case LEFT:
					x -= speed;
					break;
				case RIGHT:
					x += speed;
					break;
				case NONE:
					break;
				}
			}
		}
	}