de.rpgframework.genericrpg.items.OperationModeOption Maven / Gradle / Ivy
package de.rpgframework.genericrpg.items;
import java.util.List;
/**
* @author prelle
*
*/
public class OperationModeOption {
private CarriedItem> source;
private List modes;
//-------------------------------------------------------------------
public OperationModeOption(CarriedItem> model, List modes) {
this.source = model;
this.modes = modes;
}
//-------------------------------------------------------------------
public String toString( ) {
return source.getKey()+":"+modes;
}
//-------------------------------------------------------------------
public CarriedItem> getSource() {
return source;
}
//-------------------------------------------------------------------
public List getModes() {
return modes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy