⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 teminal.java

📁 脚本开发工具和源代码,用于J2me中RPG游戏的脚本开发和执行,相当好用的一套工具,并含有脚本开发工具的源代码和一个现成的游戏脚本
💻 JAVA
字号:
package scriptedit.data;

/**
 * <p>Title: Teminal</p>
 * <p>Description: 2006年3月30日</p>
 * <p>Copyright: CoCoMo Copyright (c) 2006</p>
 * <p>Company: 9you</p>
 * @author 郭昉
 * @version 1.1
 */

public class Teminal {
  public static final String TRUE = "true";
  public static final String FALSE = "false";

  public static final int IDENTIFER = 10; //常量 变量 函数
  public static final int INTEGER = 11;   //整型
  public static final int STRING = 12;    //字符型
  public static final int BOOLEAN = 13;   //布尔型
  public static final int MSYMBOL = 14;   //标记符号型 ( )
  public static final int OSYMBOL = 15;   //操作符号型 > < == >= <=
  public static final int RSYMBOL = 16;   //关系符号型 && ||
  public static final int SCRIPT = 17;    //脚本型

  private int type;
  private String value;
  private int line;   //仅作调试用
  public Teminal() {}

  public Teminal(int type, String value) {
    this.type = type;
    this.value = value;
  }

  public void setType(int type) {
    this.type = type;
  }

  public int getType() {
    return type;
  }

  public void setValue(String value) {
    this.value = value;
  }

  public void setValue(int value) {
    this.value = String.valueOf(value);
  }

  public String getValue() {
    return value;
  }

  public int getIntValue() {
    return Integer.parseInt(value);
  }

  public void setLine(int line) {
    this.line = line;
  }

  public int getLine() {
    return line;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -