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

📄 density.java

📁 Java mulitplayer strategy game. Adaptation of KDE Galaxy Conquest. (rules are changed - but still th
💻 JAVA
字号:
/*
 * Density.java
 *
 * Created on 1 listopad 2005, 11:39
 *
 * 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;

/**
 *
 * @author jarek
 */

public enum Density
{
	SPARSE (1.0f),
	NORMAL (0.5f ),
	DENSE ( 0.25f);
	
	private float density;
	
	private Density( final float d)
	{
		this.density = d;
	}
	
		
	public final float getDensityValue()
	{
		return this.density;
	}
}

⌨️ 快捷键说明

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