home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 64 / CDPRO64.iso / JUEGOS / java / FutureForce / FutureForce.jar / FutureForce.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-06-23  |  2.1 KB  |  69 lines

  1. import javax.microedition.lcdui.Command;
  2. import javax.microedition.lcdui.CommandListener;
  3. import javax.microedition.lcdui.Display;
  4. import javax.microedition.lcdui.Displayable;
  5. import javax.microedition.lcdui.Form;
  6. import javax.microedition.midlet.MIDlet;
  7.  
  8. public class FutureForce extends MIDlet implements CommandListener {
  9.    // $FF: renamed from: c javax.microedition.lcdui.Command
  10.    private static Command field_0;
  11.    // $FF: renamed from: d javax.microedition.lcdui.Command
  12.    private static Command field_1;
  13.    // $FF: renamed from: b javax.microedition.lcdui.Command
  14.    private static Command field_2;
  15.    // $FF: renamed from: f a
  16.    private static a field_3;
  17.    // $FF: renamed from: a javax.microedition.lcdui.Display
  18.    private static Display field_4;
  19.    // $FF: renamed from: e javax.microedition.lcdui.Form
  20.    private static Form field_5;
  21.  
  22.    public void startApp() {
  23.       field_0 = new Command("Quit", 7, 1);
  24.       field_1 = new Command("Help", 5, 2);
  25.       field_2 = new Command("Back", 1, 1);
  26.       field_4 = Display.getDisplay(this);
  27.       field_3 = new a(field_4);
  28.       field_3.addCommand(field_0);
  29.       field_3.addCommand(field_1);
  30.       field_3.setCommandListener(this);
  31.       field_5 = new Form("Help");
  32.       field_5.append("-Future Force- \n");
  33.       field_5.append("-------------- \n");
  34.       field_5.append("You are a fighter pilot for Terran Command, fighting off the alien menace of The Fallen. \n");
  35.       field_5.append("4 & 6 to move back and forth. \n");
  36.       field_5.append("2 & 8 to move up and down. \n");
  37.       field_5.append("5 to fire lasers. \n");
  38.       field_5.append("\t Enjoy. \n");
  39.       field_5.append(" \n");
  40.       field_5.append("lostincode.co.uk");
  41.       field_5.addCommand(field_2);
  42.       field_5.setCommandListener(this);
  43.       Display.getDisplay(this).setCurrent(field_3);
  44.    }
  45.  
  46.    public void commandAction(Command var1, Displayable var2) {
  47.       if (var1.equals(field_0)) {
  48.          this.destroyApp(false);
  49.          this.notifyDestroyed();
  50.       } else if (var1.equals(field_1)) {
  51.          Display.getDisplay(this).setCurrent(field_5);
  52.          a var10000 = field_3;
  53.          if (!a.an) {
  54.             field_3.d();
  55.          }
  56.       } else if (var1.equals(field_2)) {
  57.          Display.getDisplay(this).setCurrent(field_3);
  58.          field_3.d();
  59.       }
  60.  
  61.    }
  62.  
  63.    public void pauseApp() {
  64.    }
  65.  
  66.    public void destroyApp(boolean var1) {
  67.    }
  68. }
  69.