rules.java

来自「Java mulitplayer strategy game. Adaptati」· Java 代码 · 共 29 行

JAVA
29
字号
/*
 * Rules.java
 *
 * Created on 11 pa焏ziernik 2005, 01:07
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package net.sf.jawp.api.domain;

/**
 * Constants and some rules data for game.
 *
 * All values are for normal speed game (1.0f) for a time slice of 1000 ms
 * @author jarek
 */
public class Rules
{
	public static final float MASTER_SPEED_FACTOR = 1f; 
	
	public static final int PRODUCTION_PER_UNIT = (int)(1024 * MASTER_SPEED_FACTOR);

	public static final float BASE_FLEET_SPEED = 64.0f / MASTER_SPEED_FACTOR; 
	
	public static final float REVEALING_FACTOR = 0.1f * MASTER_SPEED_FACTOR;
}

⌨️ 快捷键说明

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