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

de.rpgframework.genericrpg.chargen.RuleConfiguration Maven / Gradle / Ivy

package de.rpgframework.genericrpg.chargen;

import org.prelle.simplepersist.Attribute;

/**
 * @author stefan
 *
 */
public class RuleConfiguration {
	
	@Attribute
	private String rule;
	@Attribute
	private String to;

	//-------------------------------------------------------------------
	public RuleConfiguration() {
	}

	//-------------------------------------------------------------------
	public RuleConfiguration(String id, String  val) {
		this.rule = id;
		this.to   = val;
	}

	//-------------------------------------------------------------------
	public String getRuleId() {
		return rule;
	}

	//-------------------------------------------------------------------
	public String getValueString() {
		return to;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy