public abstract class AbstractPlantController extends AbstractController
AbstractPlantView
with any changes to the model or features provided
by this controller.component
Constructor and Description |
---|
AbstractPlantController(IUpdateable model,
AbstractPlantView view,
IRenderQueue renderQueue)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setBaseColor(com.jme3.math.ColorRGBA color)
Sets the base or primary color used when rendering the controller's view.
|
void |
setWireFrame(boolean wireFrame)
Configures the view to either be solid or render as a wire frame.
|
dispose, getModel, setParentNode, update
public AbstractPlantController(IUpdateable model, AbstractPlantView view, IRenderQueue renderQueue)
model
- The model for which this controller provides a view.view
- The view associated with this controller. This needs to be
instantiated by the sub-class.renderQueue
- The queue responsible for tasks that need to be performed on
the jME rendering thread.public void setWireFrame(boolean wireFrame)
wireFrame
- Whether or not to use a wire frame.public void setBaseColor(com.jme3.math.ColorRGBA color)
color
- The new base color of the view.