public void move(int xa, int ya, List<Block> blocks) {
		if (xa != 0 && ya != 0) {
			move(xa, 0, blocks);
			move(0, ya, blocks);
			return;
		}

		if (!collision(xa, ya, blocks)) {
			x += xa * speed;
			y += ya * speed;
		}
	}