evolution.resources
Class SimpleResource
evolution.resources.Resource
|
+--evolution.resources.SimpleResource
- public class SimpleResource
- extends Resource
A meta-instance of a Resource.
Used for all resources which can be completely defined in the propfiles.
Constructor Summary |
SimpleResource(String resourceName, double value, double min, double max, int function) Initialize this simple resource. |
Method Summary |
String | getName() Return the name of this resource. |
protected void | setName(String resourceName) Set the name of this resource. |
SimpleResource
public SimpleResource(String resourceName, double value, double min, double max, int function)
- Initialize this simple resource.
getName
public String getName()
- Return the name of this resource.
setName
protected void setName(String resourceName)
- Set the name of this resource.
to Class java.lang.String- The name of this resource.