public void move(int dir) {
		if (dir == def.Frame.LEFT) {
			dx = Frame.SPEED;
			dy = 0;
		}
		if (dir == def.Frame.RIGHT) {
			dx = -Frame.SPEED;
			dy = 0;
		}
		if (dir == def.Frame.UP) {
			dy = Frame.SPEED;
			dx = 0;
		}
		if (dir == def.Frame.DOWN) {
			dy = -Frame.SPEED;
			dx = 0;
		}
		if (dir == def.Frame.STILL) {
			dy = 0;
			dx = 0;
		}
	}