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.


Fields inherited from class evolution.resources.Resource
LINEAR, SLOPE

Constructor Summary
SimpleResource(String resourceName, double value, double min, double max, int function)
          Initialize this simple resource.

Method Summary
 StringgetName()
          Return the name of this resource.
 protected voidsetName(String resourceName)
          Set the name of this resource.

Methods inherited from class evolution.resources.Resource
autoHasOthers, autoModOthers, getMin, getValue, has, influence, modValue, setLimits, setValue

Constructor Detail

SimpleResource

public SimpleResource(String resourceName, double value, double min, double max, int function)
Initialize this simple resource.
Method Detail

getName

public String getName()
Return the name of this resource.

setName

protected void setName(String resourceName)
Set the name of this resource.

Association Links

to Class java.lang.String

The name of this resource.

a gvijf production