Package repast.simphony.render
Class RendererManager
java.lang.Object
repast.simphony.render.RendererManager
Manages a collection of Renderers, allowing client code to call update and
pause them collectively.
- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:35 $
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRenderer
(Renderer renderer) Adds a Renderer to this RendererManager.void
clear()
Clears the list of Renderers contained by this RendererManager.void
render()
Calls render on each Renderer contained in this RendererManager.void
setPause
(boolean pause) Calls setPause on each Renderer contained in this RendererManager.
-
Constructor Details
-
RendererManager
public RendererManager()
-
-
Method Details
-
addRenderer
Adds a Renderer to this RendererManager.- Parameters:
renderer
- the renderer to add
-
render
public void render()Calls render on each Renderer contained in this RendererManager. -
setPause
public void setPause(boolean pause) Calls setPause on each Renderer contained in this RendererManager. -
clear
public void clear()Clears the list of Renderers contained by this RendererManager.
-