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

📄 gamedata.java

📁 关于j2me的宠物游戏!!!!!!!!!!! 希望打架提出意见
💻 JAVA
字号:
/*
 * GameData.java
 *
 * Created on 2006年5月5日, 上午11:16
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
//

package DogPet;

import java.util.Calendar;

public class GameData
{

    public GameData()
    {
    }

    public static long cal_total() //??????????????????????????
    {
        long total = 0L;
        total = ((Mood * 103 + Health * 105 + Intelligence * 104 + Weight * 101) * (Years + 1)) / 100;
        return total;
    }

    static String Name = "Dog Pet";
    static int Years = 0;
    static Calendar Birthday = Calendar.getInstance();
    static int Health = 50;
    static int Mood = 50;//心情
    static int Intelligence = 50;
    static int Capacity = 50;
    static int Weight = 50;
    static long birthday = 0L;
    static int start_x = 28;
    static int start_y = 24;
    static String Ending = "";

}

⌨️ 快捷键说明

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