package navigator;

public class NavBoot implements NavScript {

	public void dosomething()
	{
	Thread mythread;
	mythread = new Thread(new NavFrame(this, (float).1));
	mythread.start();
	}

	public void keyDown(char key)
	{
	switch (key) {
		case '6':
			System.out.println("RIGHT");
			break;
		case '4':
			System.out.println("LEFT");
			break;
	}
	}

	public void keyUp(char key)
	{
	switch (key) {
		case '6':
			System.out.println("RIGHT up");
			break;
		case '4':
			System.out.println("LEFT up");
			break;
	}
	}

	public void setAngle(double angle)
	{
	System.out.println(angle);
	}

}