 /**
  *  Game contains the MIDlet for the Epsilon game.
  *  Epsilon is a simple space-shooter-vertical-scroller game.
  *
  *  Epsilon is available for non-commercial use only!
  *  You can learn from this sources and you can modify them
  *  for learning purposes.
  * 
  *  @author      Ziga Hajdukovic
  *  @version     1.0
  */
  
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

public class Game extends MIDlet
{
	Display display;
	
	public Game()
	{
	}

	public void startApp()
	{
		GameCanvas gameCanvas = new GameCanvas(this);
		display = Display.getDisplay(this);
		display.setCurrent(gameCanvas);
		gameCanvas.run();
	}

	public void pauseApp()
	{
	}

	public void destroyApp(boolean b)
	{
	}

	void exitRequested()
	{
		destroyApp(false);
		notifyDestroyed();
	}
}

