All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.rpgframework.genericrpg.PoolCalculation Maven / Gradle / Ivy

The newest version!
package de.rpgframework.genericrpg;

/**
 * @author prelle
 *
 */
public class PoolCalculation {

	public T value;
	public String source;
	public boolean hitLimit;
	public boolean augment;

	//-------------------------------------------------------------------
	public PoolCalculation(T val, String src) {
		this.value = val;
		this.source= src;
	}

	//-------------------------------------------------------------------
	public PoolCalculation(T val, String src, boolean augment) {
		this.value = val;
		this.source= src;
		this.augment = augment;
	}

	//-------------------------------------------------------------------
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() { return value+":"+source+(hitLimit?"*":""); }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy