亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dictionary.java

?? 一個關于沉船的J2ME小游戲
?? JAVA
字號:
//
// Copyright 2002 Nokia Corporation
//
// THIS SOURCE CODE IS PROVIDED 'AS IS', WITH NO WARRANTIES WHATSOEVER,
// EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS
// FOR ANY PARTICULAR PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE
// OR TRADE PRACTICE, RELATING TO THE SOURCE CODE OR ANY WARRANTY OTHERWISE
// ARISING OUT OF ANY PROPOSAL, SPECIFICATION, OR SAMPLE AND WITH NO
// OBLIGATION OF NOKIA TO PROVIDE THE LICENSEE WITH ANY MAINTENANCE OR
// SUPPORT. FURTHERMORE, NOKIA MAKES NO WARRANTY THAT EXERCISE OF THE
// RIGHTS GRANTED HEREUNDER DOES NOT INFRINGE OR MAY NOT CAUSE INFRINGEMENT
// OF ANY PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OWNED OR CONTROLLED
// BY THIRD PARTIES
//
// Furthermore, information provided in this source code is preliminary,
// and may be changed substantially prior to final release. Nokia Mobile
// Phones Ltd. retains the right to make changes to this source code at
// any time, without notice. This source code is provided for informational
// purposes only.
//
// Third-party brands and names are the property of their respective
// owners. Java(TM) and J2ME(TM) are registered trademarks of
// Sun Microsystems Inc.
//
// A non-exclusive, non-transferable, worldwide, limited license is hereby
// granted to the Licensee to download, print, reproduce and modify the
// source code. The licensee has the right to market, sell, distribute and
// make available the source code in original or modified form only when
// incorporated into the programs developed by the Licensee. No other
// license, express or implied, by estoppel or otherwise, to any other
// intellectual property rights is granted herein.
//


import javax.microedition.lcdui.*;


// This class maps integer id's to Strings used in the user interface
// screens of the MIDlet. It is meant as a simple placeholder for
// internationalization support.
//
// Currently, the default (and only) language supported is "en-US".
// The class could be extended to support other mappings in the future,
// although it currently supports just one.
//
// (Note: A few simple strings used in CloseableCanvas like ":", "(", ")",
// numeric strings, and white space like " " or "\n" are not translated
// by the Dictionary. If those would need internationalization support,
// then appropriate support would need to be added.)

class Dictionary
{
    // The types of strings used in the MIDlet user interface are:
    //   LABEL : short text labels used in simple UI elements like
    //           Commands, List StringItems, etc.
    //    TEXT : text strings that are 'contents' of some screen, i.e. drawn
    //           in the game screen or used in the instructions screen

    private static short ix = 0;
    final static short LABEL_HISCORE = ix++;
    final static short LABEL_BACK = ix++;
    final static short LABEL_CONTINUE = ix++;
    final static short LABEL_EDIT = ix++;
    final static short LABEL_EXIT = ix++;
    final static short LABEL_INSTRUCTIONS = ix++;
    final static short LABEL_NEWGAME = ix++;
    final static short LABEL_MODIFY = ix++;
    final static short LABEL_OFF = ix++;
    final static short LABEL_ON = ix++;
    final static short LABEL_SETTINGS = ix++;
    final static short LABEL_SOUND = ix++;
    final static short LABEL_VERSION = ix++;
    final static short LABEL_VIBRATION = ix++;
    final static short TEXT_GAME_YOU_DESTROYED = ix++;
    final static short TEXT_GAME_BLOCKS = ix++;
    final static short TEXT_GAME_QUIT_PROMPT = ix++;
    final static short TEXT_GAME_RESUME_PROMPT = ix++;
    final static short TEXT_GAME_LEVEL_COMPLETE = ix++;
    final static short TEXT_GAME_LEVEL_BONUS = ix++;
    final static short TEXT_GAME_LEVEL = ix++;
    final static short TEXT_GAME_NEW_HISCORE = ix++;
    final static short TEXT_GAME_YOU = ix++;
    final static short TEXT_GAME_YOU_WON = ix++;
    final static short TEXT_GAME_YOU_LOST = ix++;
    final static short TEXT_INSTRUCTIONS = ix++;
    final static short TEXT_INSTRUCTIONS_GAUGE = ix++;
    final static short NUM_IDS = ix;

    private static Dictionary instance = null;

    private String[] strings;


    Dictionary(String locale, String encoding)
    {
        // If you decide to add additional internationalization support,
        // you would need to modify this method, something like this:
        //    if (locale.equals("xx-YY"))
        //    {
        //        strings = stringsXxYY();
        //    }
        //    else if (locale.startsWith("zz"))
        //    {
        //        // e.g. might keep the strings a in .dat resource file
        //        strings = stringsZz();
        //    }
        //    else
        //    {
        //        strings = stringsEnUS(); // use default language
        //    }
        //
        // The strings returned by the 'stringsXxYy()' internationalization
        // methods could be defined at compile-time, as in the default
        // method stringsEnUs(), or at run-time.
        //
        // Run-time support would involve reading the strings
        // from appropriate resource files added to the MIDlet's .jar file.
        // (e.g. "en-UK.dat", "en.dat", "fi-FI.dat", "fi-SE.dat", etc.)
        // Such an approach would allow one to separate the process
        // of internationalizing strings from the process of compiling the
        // MIDlet. (Determining which .dat files are part of a particular
        // version of a MIDlet's .jar file, would be part of the
        // MIDlet jarring and deployment process.) You may also need
        // to used fixed dictionary entry ID's above.

        // The only language currently supported is the default one: "us-EN".
        strings = stringsEnUS();
    }


    private String[] stringsEnUS()
    {
        // USA English strings

        String[] strArray = new String[NUM_IDS];

        // Labels
        strArray[LABEL_HISCORE] = "High Score";
        strArray[LABEL_BACK] = "Back";
        strArray[LABEL_CONTINUE] = "Continue";
        strArray[LABEL_EDIT] = "Edit";
        strArray[LABEL_EXIT] = "Exit";
        strArray[LABEL_INSTRUCTIONS] = "Instructions";
        strArray[LABEL_MODIFY] = "Modify";
        strArray[LABEL_NEWGAME] = "New game";
        strArray[LABEL_OFF] = "off";
        strArray[LABEL_ON] = "on";
        strArray[LABEL_SETTINGS] = "Settings";
        strArray[LABEL_SOUND] = "Sound";
        strArray[LABEL_VERSION] = "Version";
        strArray[LABEL_VIBRATION] = "Vibration";

        // Game screen text strings
        strArray[TEXT_GAME_YOU_DESTROYED] = "S-P-L-A-T-T!";
        strArray[TEXT_GAME_RESUME_PROMPT] = "Press a key to resume";
        strArray[TEXT_GAME_QUIT_PROMPT] = "Use softkey to quit";
        strArray[TEXT_GAME_LEVEL_COMPLETE] = "Level Complete!";
        strArray[TEXT_GAME_LEVEL_BONUS] = "Bonus  ";
        strArray[TEXT_GAME_LEVEL] = "Level ";
        strArray[TEXT_GAME_NEW_HISCORE] = "New Hi-Score ";
        strArray[TEXT_GAME_YOU_LOST] = "Game Over!";

        // Instructions screen text strings
        Canvas c = new CloseableCanvas("");
        String up = c.getKeyName(c.getKeyCode(Canvas.UP));
        String down = c.getKeyName(c.getKeyCode(Canvas.DOWN));
        String left = c.getKeyName(c.getKeyCode(Canvas.LEFT));
        String right = c.getKeyName(c.getKeyCode(Canvas.RIGHT));
        String fire = c.getKeyName(c.getKeyCode(Canvas.FIRE));
        strArray[TEXT_INSTRUCTIONS] =
            // Describe game's objective and how to play:
		"You are in command of a drop ship that must clear a path on " +
		"the planets surface which is covered in cystals.\n" +
		"To clear the planets surface you must drop bombs " +
		"on the crystals to destroy them.\n" +
            // Describe keypad usage:
		"Use " + fire + " to drop bombs.\n" +
		"Good Luck!";

        return strArray;
    }


    String getString(int id)
    {
        if ((id >= 0) && (id < strings.length))
        {
            return strings[id];
        }
        else
        {
            throw new IllegalArgumentException("id=" + id +
                " is out of bounds. max=" + strings.length);
        }
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品国产精品亚洲红杏| 欧美视频你懂的| 26uuu国产一区二区三区| 亚洲chinese男男1069| 91首页免费视频| 国产精品视频一二| 国产精品影视在线观看| 欧美在线观看视频一区二区三区| 自拍视频在线观看一区二区| 成人性色生活片| 中文字幕视频一区| 欧美日韩视频不卡| 美女一区二区视频| 国产精品嫩草99a| 在线免费精品视频| 蜜臀国产一区二区三区在线播放 | 日本aⅴ免费视频一区二区三区| 欧美日韩国产首页| 国产一区在线观看麻豆| 亚洲乱码一区二区三区在线观看| 欧美日韩精品一区二区在线播放| 美女视频黄 久久| 国产精品乱人伦一区二区| 日本高清不卡一区| 国产在线精品一区二区三区不卡| 国产精品婷婷午夜在线观看| 欧美丝袜丝交足nylons图片| 麻豆国产精品777777在线| 国产精品久久久久久久久图文区| 欧美在线视频全部完| 久久99精品久久久久久久久久久久 | 国产精品久久毛片a| 在线观看亚洲a| 国产很黄免费观看久久| 亚洲一区二区在线免费看| 精品免费日韩av| 欧美亚洲综合久久| 成人自拍视频在线| 男女男精品网站| 一区二区三区中文在线观看| 久久久www成人免费无遮挡大片| 欧美又粗又大又爽| 成人精品亚洲人成在线| 青草av.久久免费一区| 亚洲柠檬福利资源导航| 久久色成人在线| 制服丝袜中文字幕一区| 91色视频在线| 国产成人aaa| 精品一区二区三区不卡| 日韩影院免费视频| 亚洲免费观看高清完整版在线观看熊| 欧美变态tickle挠乳网站| 在线播放欧美女士性生活| 一本大道久久a久久精品综合| 国产精品一卡二卡在线观看| 日本不卡视频一二三区| 亚洲成精国产精品女| 亚洲精品美腿丝袜| 国产精品水嫩水嫩| 国产欧美精品国产国产专区| 精品国产乱码久久久久久1区2区 | 亚洲午夜精品网| 亚洲欧美色综合| 中文在线一区二区| 久久综合久色欧美综合狠狠| 日韩一本二本av| 欧美日韩aaaaa| 欧美日韩国产色站一区二区三区| 在线观看亚洲一区| 欧美性xxxxxx少妇| 欧美在线观看视频一区二区| 欧美体内she精视频| 色猫猫国产区一区二在线视频| 国产成人免费视频网站| 国产91精品一区二区麻豆网站 | 激情综合一区二区三区| 丝袜美腿亚洲色图| 国产91精品久久久久久久网曝门| 99re热这里只有精品视频| 国产成人鲁色资源国产91色综 | 亚洲精品高清在线| 一区二区三区在线看| 一区二区三区美女| 亚洲国产精品久久不卡毛片| 亚洲va国产天堂va久久en| 青草av.久久免费一区| 国内精品久久久久影院薰衣草 | 天天影视涩香欲综合网| 丝袜美腿亚洲一区| 国内精品不卡在线| 成人a区在线观看| 欧美亚洲国产一区二区三区va| 欧美色老头old∨ideo| 欧美一二区视频| 久久综合999| 中文字幕制服丝袜一区二区三区| 日韩一级高清毛片| 国产资源在线一区| 丰满少妇久久久久久久| 丝袜亚洲另类欧美| 另类小说图片综合网| 高清国产午夜精品久久久久久| 欧美精品1区2区3区| 亚洲视频在线观看一区| 毛片不卡一区二区| 国产三级精品在线| 欧美色图在线观看| 欧美精品久久99久久在免费线 | 国产丝袜美腿一区二区三区| 日韩欧美不卡一区| 精品国产伦一区二区三区观看方式| 欧美日韩精品二区第二页| 欧洲亚洲精品在线| 欧美久久久久久蜜桃| 日韩欧美另类在线| 国产精品色哟哟| 亚洲妇熟xx妇色黄| 久久99久久久欧美国产| 成熟亚洲日本毛茸茸凸凹| 91在线国产观看| 日韩一区国产二区欧美三区| 国产精品免费视频网站| 亚洲一区二区综合| 国产福利一区二区三区视频在线| 成年人午夜久久久| 91精品国产91久久综合桃花 | 色吧成人激情小说| 日韩欧美一区二区免费| 亚洲美女偷拍久久| 91视频在线看| 亚洲色图在线看| 亚洲精品免费在线| 高清beeg欧美| 久久只精品国产| 无码av免费一区二区三区试看 | 在线亚洲免费视频| 欧美日韩三级一区二区| 国产99精品视频| 91精品婷婷国产综合久久性色| 日本一区二区三区国色天香| 日韩精品欧美成人高清一区二区| 成人h动漫精品一区二区| 日韩欧美一二三| 无码av免费一区二区三区试看| 91在线porny国产在线看| 久久先锋影音av鲁色资源网| 日韩av一区二区在线影视| 国产欧美日韩亚州综合| 91小视频在线免费看| 五月天婷婷综合| 懂色av中文字幕一区二区三区| 欧美久久久久中文字幕| 亚洲午夜激情av| 91首页免费视频| 亚洲欧美在线aaa| 国产成人综合在线观看| 精品噜噜噜噜久久久久久久久试看| 亚洲综合男人的天堂| 91美女在线视频| 视频在线观看91| 激情综合网最新| 99视频一区二区| 麻豆国产精品官网| 亚洲国产成人私人影院tom| 亚洲图片欧美色图| 91福利国产成人精品照片| 日韩理论电影院| 色综合天天天天做夜夜夜夜做| 中国色在线观看另类| 国产999精品久久久久久绿帽| 久久久亚洲午夜电影| 国产a视频精品免费观看| 国产欧美一区二区三区沐欲| 成人av手机在线观看| 成人欧美一区二区三区白人| 91网站在线观看视频| 亚洲在线观看免费| 6080午夜不卡| 激情偷乱视频一区二区三区| 精品成人佐山爱一区二区| 国产夫妻精品视频| 国产精品妹子av| 91国产视频在线观看| 五月天欧美精品| 日韩欧美一区二区不卡| 国产福利精品一区二区| 亚洲欧洲99久久| 欧美日韩成人在线| 麻豆国产一区二区| 国产精品久久久久久久第一福利 | 欧美aⅴ一区二区三区视频| 欧美成人一区二区三区| 国产999精品久久久久久绿帽| 亚洲另类色综合网站| 6080国产精品一区二区| 国产美女娇喘av呻吟久久| 综合激情成人伊人| 91精品国产综合久久国产大片| 久久99国产精品久久99果冻传媒 |