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

📄 constants.java

📁 自己写的monopoly 游戏代码
💻 JAVA
字号:
package com.xmu.typot.constant;

import java.awt.Color;

/**
 * 定义常量
 * @author typot
 * 2007.12.25
 */
public class Constants {
	public static final int MAX_MONEY = 50000;
	
	public static final int ROUNDS_TOTAL = 20;
	
	public static final int PLAYERS_TOTAL = 2;
	
	public static final int RENT1 = 1000;
	
	public static final int RENT2 = 1500;
	
	public static final int RENT3 = 2000;
	
	public static final int RENT4 = 2500;
	
	public static final Color COLOR1 = Color.cyan;
	
	public static final Color COLOR2 = Color.darkGray;
	
	public static final Color COLOR3 = Color.orange;
	
	public static final Color COLOR4 = Color.pink;
	
	public static final int SIZE = 40;
	
	public static final int PRISON_TYPE = 1;
	
	public static final int HOSPITAL_TYPE = 2;
	
	public static final boolean isTest = true;
}

⌨️ 快捷键说明

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