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

📄 values.java

📁 SIMULATION FOURMILIERE -3D-ISOMETRIQUE
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
	@ImageFile("/resources/pictures/insects/red/s_l.png")	antRed_SL,	@ImageFile("/resources/pictures/insects/red/s_ul.png")	antRed_SUL,	@ImageFile("/resources/pictures/insects/red/s_u.png")	antRed_SU,	@ImageFile("/resources/pictures/insects/red/s_ur.png")	antRed_SUR,	@ImageFile("/resources/pictures/insects/red/s_r.png")	antRed_SR,	@ImageFile("/resources/pictures/insects/red/s_dr.png")	antRed_SDR,	@ImageFile("/resources/pictures/insects/red/s_d.png")	antRed_SD,	@ImageFile("/resources/pictures/insects/red/s_dl.png")	antRed_SDL,	// Red : ant worker	@ImageFile("/resources/pictures/insects/red/w_l.png")	antRed_WL,	@ImageFile("/resources/pictures/insects/red/w_ul.png")	antRed_WUL,	@ImageFile("/resources/pictures/insects/red/w_u.png")	antRed_WU,	@ImageFile("/resources/pictures/insects/red/w_ur.png")	antRed_WUR,	@ImageFile("/resources/pictures/insects/red/w_r.png")	antRed_WR,	@ImageFile("/resources/pictures/insects/red/w_dr.png")	antRed_WDR,	@ImageFile("/resources/pictures/insects/red/w_d.png")	antRed_WD,	@ImageFile("/resources/pictures/insects/red/w_dl.png")	antRed_WDL,	// Red : ant Kamikaze	@ImageFile("/resources/pictures/insects/red/k_l.png")	antRed_KL,	@ImageFile("/resources/pictures/insects/red/k_ul.png")	antRed_KUL,	@ImageFile("/resources/pictures/insects/red/k_u.png")	antRed_KU,	@ImageFile("/resources/pictures/insects/red/k_ur.png")	antRed_KUR,	@ImageFile("/resources/pictures/insects/red/k_r.png")	antRed_KR,	@ImageFile("/resources/pictures/insects/red/k_dr.png")	antRed_KDR,	@ImageFile("/resources/pictures/insects/red/k_d.png")	antRed_KD,	@ImageFile("/resources/pictures/insects/red/k_dl.png")	antRed_KDL,    // Red : bug    @ImageFile("/resources/pictures/insects/red/b_l.png") antRed_BL,    @ImageFile("/resources/pictures/insects/red/b_ul.png")antRed_BUL,    @ImageFile("/resources/pictures/insects/red/b_u.png") antRed_BU,    @ImageFile("/resources/pictures/insects/red/b_ur.png")antRed_BUR,    @ImageFile("/resources/pictures/insects/red/b_r.png") antRed_BR,    @ImageFile("/resources/pictures/insects/red/b_dr.png")antRed_BDR,    @ImageFile("/resources/pictures/insects/red/b_d.png") antRed_BD,    @ImageFile("/resources/pictures/insects/red/b_dl.png")antRed_BDL,	// Brown : ant soldier	@ImageFile("/resources/pictures/insects/brown/s_l.png")	antBrown_SL,	@ImageFile("/resources/pictures/insects/brown/s_ul.png")	antBrown_SUL,	@ImageFile("/resources/pictures/insects/brown/s_u.png")	antBrown_SU,	@ImageFile("/resources/pictures/insects/brown/s_ur.png")	antBrown_SUR,	@ImageFile("/resources/pictures/insects/brown/s_r.png")	antBrown_SR,	@ImageFile("/resources/pictures/insects/brown/s_dr.png")	antBrown_SDR,	@ImageFile("/resources/pictures/insects/brown/s_d.png")	antBrown_SD,	@ImageFile("/resources/pictures/insects/brown/s_dl.png")	antBrown_SDL,	// Brown : ant worker	@ImageFile("/resources/pictures/insects/brown/w_l.png")	antBrown_WL,	@ImageFile("/resources/pictures/insects/brown/w_ul.png")	antBrown_WUL,	@ImageFile("/resources/pictures/insects/brown/w_u.png")	antBrown_WU,	@ImageFile("/resources/pictures/insects/brown/w_ur.png")	antBrown_WUR,	@ImageFile("/resources/pictures/insects/brown/w_r.png")	antBrown_WR,	@ImageFile("/resources/pictures/insects/brown/w_dr.png")	antBrown_WDR,	@ImageFile("/resources/pictures/insects/brown/w_d.png")	antBrown_WD,	@ImageFile("/resources/pictures/insects/brown/w_dl.png")	antBrown_WDL,	// Brown : ant Kamikaze	@ImageFile("/resources/pictures/insects/brown/k_l.png")	antBrown_KL,	@ImageFile("/resources/pictures/insects/brown/k_ul.png")	antBrown_KUL,	@ImageFile("/resources/pictures/insects/brown/k_u.png")	antBrown_KU,	@ImageFile("/resources/pictures/insects/brown/k_ur.png")	antBrown_KUR,	@ImageFile("/resources/pictures/insects/brown/k_r.png")	antBrown_KR,	@ImageFile("/resources/pictures/insects/brown/k_dr.png")	antBrown_KDR,	@ImageFile("/resources/pictures/insects/brown/k_d.png")	antBrown_KD,	@ImageFile("/resources/pictures/insects/brown/k_dl.png")	antBrown_KDL,    // Brown : bug    @ImageFile("/resources/pictures/insects/brown/b_l.png") antBrown_BL,    @ImageFile("/resources/pictures/insects/brown/b_ul.png")antBrown_BUL,    @ImageFile("/resources/pictures/insects/brown/b_u.png") antBrown_BU,    @ImageFile("/resources/pictures/insects/brown/b_ur.png")antBrown_BUR,    @ImageFile("/resources/pictures/insects/brown/b_r.png") antBrown_BR,    @ImageFile("/resources/pictures/insects/brown/b_dr.png")antBrown_BDR,    @ImageFile("/resources/pictures/insects/brown/b_d.png") antBrown_BD,    @ImageFile("/resources/pictures/insects/brown/b_dl.png")antBrown_BDL,	// White : ant soldier	@ImageFile("/resources/pictures/insects/white/s_l.png")	antWhite_SL,	@ImageFile("/resources/pictures/insects/white/s_ul.png")	antWhite_SUL,	@ImageFile("/resources/pictures/insects/white/s_u.png")	antWhite_SU,	@ImageFile("/resources/pictures/insects/white/s_ur.png")	antWhite_SUR,	@ImageFile("/resources/pictures/insects/white/s_r.png")	antWhite_SR,	@ImageFile("/resources/pictures/insects/white/s_dr.png")	antWhite_SDR,	@ImageFile("/resources/pictures/insects/white/s_d.png")	antWhite_SD,	@ImageFile("/resources/pictures/insects/white/s_dl.png")	antWhite_SDL,	// White : ant worker	@ImageFile("/resources/pictures/insects/white/w_l.png")	antWhite_WL,	@ImageFile("/resources/pictures/insects/white/w_ul.png")	antWhite_WUL,	@ImageFile("/resources/pictures/insects/white/w_u.png")	antWhite_WU,	@ImageFile("/resources/pictures/insects/white/w_ur.png")	antWhite_WUR,	@ImageFile("/resources/pictures/insects/white/w_r.png")	antWhite_WR,	@ImageFile("/resources/pictures/insects/white/w_dr.png")	antWhite_WDR,	@ImageFile("/resources/pictures/insects/white/w_d.png")	antWhite_WD,	@ImageFile("/resources/pictures/insects/white/w_dl.png")	antWhite_WDL,	// White : ant Kamikaze	@ImageFile("/resources/pictures/insects/white/k_l.png")	antWhite_KL,	@ImageFile("/resources/pictures/insects/white/k_ul.png")	antWhite_KUL,	@ImageFile("/resources/pictures/insects/white/k_u.png")	antWhite_KU,	@ImageFile("/resources/pictures/insects/white/k_ur.png")	antWhite_KUR,	@ImageFile("/resources/pictures/insects/white/k_r.png")	antWhite_KR,	@ImageFile("/resources/pictures/insects/white/k_dr.png")	antWhite_KDR,	@ImageFile("/resources/pictures/insects/white/k_d.png")	antWhite_KD,	@ImageFile("/resources/pictures/insects/white/k_dl.png")	antWhite_KDL,    // White : bug    @ImageFile("/resources/pictures/insects/white/b_l.png") antWhite_BL,    @ImageFile("/resources/pictures/insects/white/b_ul.png")antWhite_BUL,    @ImageFile("/resources/pictures/insects/white/b_u.png") antWhite_BU,    @ImageFile("/resources/pictures/insects/white/b_ur.png")antWhite_BUR,    @ImageFile("/resources/pictures/insects/white/b_r.png") antWhite_BR,    @ImageFile("/resources/pictures/insects/white/b_dr.png")antWhite_BDR,    @ImageFile("/resources/pictures/insects/white/b_d.png") antWhite_BD,    @ImageFile("/resources/pictures/insects/white/b_dl.png")antWhite_BDL,		// Actions    @ImageFile("/resources/pictures/game/ins_fight.png")		ins_fight,    @ImageFile("/resources/pictures/game/ins_food.png")		ins_food,    @ImageFile("/resources/pictures/game/ins_help.png")		ins_help,    @ImageFile("/resources/pictures/game/ins_poison.png")	ins_poison,    @ImageFile("/resources/pictures/game/select.png")		select,        // Ranks    @ImageFile("/resources/pictures/game/rnk_sergeant.png")	rnk_sergeant,    @ImageFile("/resources/pictures/game/rnk_captain.png")	rnk_captain,    @ImageFile("/resources/pictures/game/rnk_major.png")	rnk_major,    @ImageFile("/resources/pictures/game/rnk_colonel.png")	rnk_colonel,    @ImageFile("/resources/pictures/game/rnk_general.png")	rnk_general,        // Game menus    @ImageFile("/resources/pictures/game/buy_bug.png")buyBug,    @ImageFile("/resources/pictures/game/buy_shield.png")buyShield,    @ImageFile("/resources/pictures/game/buy_kamikaze.png")buyKamikaze,    @ImageFile("/resources/pictures/game/buy_veteran.png")buyVeteran,    @ImageFile("/resources/pictures/game/buy_bug_gray.png")buyBugGray,    @ImageFile("/resources/pictures/game/buy_shield_gray.png")buyShieldGray,    @ImageFile("/resources/pictures/game/buy_kamikaze_gray.png")buyKamikazeGray,    @ImageFile("/resources/pictures/game/buy_veteran_gray.png")buyVeteranGray    ;		/**	 * Indicate if a ground element is an obstacle or not	 * @param value	the element to test	 * @return true if it is an obstacle	 */	public static boolean isObstacle(final Values value) {		return value == Values.rock			? true			: false;	}			/**	 * Return the difficulty it takes to walk on a certain kind of tile	 * @param value the value to test.	 * @return the difficulty	 */	public static int getDifficultyCrossing(final Values value) {		if (value == Values.desert)			return 2;		if (value == Values.water)			return 4;		return 1;	}		}

⌨️ 快捷键说明

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