/**********************************************************
File name:IData.java
Author:夏文涛
Version:Beta1.0
Data:2007/10/16
Description:
程序的所有类的接口,定义了游戏中经常要用到的终态常量,
已经完成的终态定义常量有:
刷新间隔: 1 个(常量)
人物方向: 4 个
游戏地图: 14 个
战斗怪物: 2 个
战斗状态: 12 个
游戏状态: 5 个
菜单状态: 15 个
商店状态: 5 个
*********************************************************/
package com.Izual.MetalMax;
public interface IData {
/* 每次游戏刷新的时间间隔 */
static final int MILLIS_PER_TICK = 80; /*刷新间隔为80ms*/
/* 人物方向 */
static final int UP=0; /*方向上*/
static final int DOWN=1; /*方向下*/
static final int LEFT=2; /*方向左*/
static final int RIGHT=3; /*方向右*/
/* 游戏地图 */
static final int START_MAP = 100; /*游戏开始的地图,主角二层*/
static final int WORLD_MAP = 0; /*世界地图*/
static final int LADUO_MAP = 1; /*拉多镇*/
static final int ZHUJUE_1F_MAP = 2; /*拉多镇-主角1F*/
static final int ZHUJUE_2F_MAP = 3; /*拉多镇-主角2F*/
static final int LADUO_BAR_MAP = 4; /*拉多镇-酒馆*/
static final int LADUO_CHUANSONG_MAP = 5; /*拉多镇-传送*/
static final int LADUO_HEROITEM_MAP = 6; /*拉多镇-人类工具店*/
static final int LADUO_INN_MAP = 7; /*拉多镇-旅店*/
static final int LADUO_MINGQI_MAP = 8; /*拉多镇-明齐博士*/
static final int LADUO_SHANGJIN_MAP = 9; /*拉多镇-赏金猎人*/
static final int TANK1_1F_MAP = 10; /*世界地图-1号坦克洞穴1F*/
static final int TANK1_2F_MAP = 11; /*世界地图-1号坦克洞穴2F*/
static final int TANK1_3F_MAP = 12; /*世界地图-1号坦克洞穴3F*/
/* 战斗怪物 */
static final int 音速车 = 0; /*战斗怪物-音速车*/
static final int 沙漠车 = 1; /*战斗怪物-沙漠车*/
/* 战斗状态 */
static final short FIGHT_STANDBY = 4; /*普通状态,可以选择菜单*/
static final short ATTACK_MAIN = 5; /*坦克战斗系统-主炮攻击*/
static final short ATTACK_TOOL = 6; /*坦克战斗系统-坦克工具*/
static final short ATTACK_VICE = 9; /*坦克战斗系统-副炮攻击*/
static final short ATTACK_SHELL = 10; /*坦克战斗系统-特殊炮弹*/
static final short ATTACK_SE = 11; /*坦克战斗系统-SE攻击*/
static final short ATTACK_HELP = 12; /*坦克战斗系统-辅助*/
static final short HERO_ATTACK = 13; /*人类战斗系统-攻击*/
static final short HERO_TOOL = 14; /*人类战斗系统-人类工具*/
static final short HERO_EQU = 15; /*人类战斗系统-装备*/
static final short HERO_HELP = 16; /*人类战斗系统-辅助*/
static final short ENEMY_ATTACK = 8; /*怪物攻击*/
/* 游戏状态 */
static final short GAME_NORMAL = 3; /*普通状态,可以自由行走*/
static final short GAME_FIGHT = 7; /*战斗状态*/
static final short GAME_MENU = 2; /*菜单状态*/
static final short GAME_AUTORUN = 1; /*自动事件*/
static final short GAME_SHOP = 4; /*商店*/
/* 菜单状态 */
static final short MENU_NORMAL = 21; /*菜单-正常,可以进行菜单选择*/
static final short MENU_TALK = 13; /*菜单-对话*/
static final short MENU_STR = 14; /*菜单-强度*/
static final short MENU_EQU = 15; /*菜单-装备*/
static final short MENU_FIND = 16; /*菜单-调查*/
static final short MENU_CJ = 17; /*菜单-乘降*/
static final short MENU_TOOL = 18; /*菜单-工具*/
static final short MENU_SHELL = 19; /*菜单-炮弹*/
static final short MENU_HELP = 20; /*菜单-辅助*/
static final short MENU_TOOLLIST = 22; /*菜单-人类工具*/
static final short MENU_TANKTOOL = 23; /*菜单-坦克工具*/
static final short MENU_EQULIST = 25; /*菜单-人类装备*/
static final short MENU_TANKEQU = 24; /*菜单-坦克装备*/
static final short MENU_TANKSTR = 26; /*菜单-坦克强度*/
static final short MENU_HEROSTR = 27; /*菜单-人类强度*/
/* 商店状态 */
static final short SHOP_NORMAL = 5; /*商店-正常,可以进行选择*/
static final short SHOP_CHO1 = 1; /*商店-选择第1行*/
static final short SHOP_CHO2 = 2; /*商店-选择第2行*/
static final short SHOP_CHO3 = 3; /*商店-选择第3行*/
static final short SHOP_CHO4 = 4; /*商店-选择第4行*/
}