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

de.rpgframework.genericrpg.items.Formula Maven / Gradle / Ivy

The newest version!
package de.rpgframework.genericrpg.items;

import org.prelle.simplepersist.StringValueConverter;

public interface Formula {

	//-------------------------------------------------------------------
	public boolean isResolved();

	//-------------------------------------------------------------------
	public Object getValue();

	//-------------------------------------------------------------------
	public int size();

	//-------------------------------------------------------------------
	public boolean isInteger();
	public int getAsInteger();

	//-------------------------------------------------------------------
	public boolean isFloat();
	public float getAsFloat();

	//-------------------------------------------------------------------
	public boolean isObject();
	public  T getAsObject(StringValueConverter convert);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy