private Animation animation;
private final static int SCREENWIDTH = 128;
private final static int SCREENHEIGHT = 128;
//Bg Setup
private byte selBg = 0;
//new add
private GameImage maskImg;
private GameImage logoImg;
private GameImage panelMsgBoxImg;
private GameImage panelFaceImg;
private Image bgImg;
private Button[] button;
// private GameImage
//GAMESTATE DEFINATION
final short IDLE = 0;
final short GAMETITLE = 1;
(SKIP)
public final short GAMEOVER = 10;
//GAMESTATE DEFINATION END
public Panel panel;
public Panel Panel2;
public Panel gamblePanel;
//COMMAND DEFINATION
public Command startCommand;
public Command quitCommand;
public Command titleCommand;
public Command optionCommand;
public Command entryCommand;
public Command pauseCommand;
public List optionList;
//COMMAND DEFINATION END
private int gameState;
RollingScreen rollingScreen;
Image rollingImg;
public static final void SETCLIP(Graphics g, short xPos, short yPos, short width, short height)
{
(SKIP)
}//End of Static Function
AnimeCanvas(AnimeMIDlet midlet, Display display) {
this.midlet = midlet;
this.display = display;
initTitle();
setCommandListener(this);
thread = new Thread(this);
thread.start(); // initially just waits for a notification
}
public void run() {