de.unifreiburg.twodeedoo.scene
Interface IScene

All Superinterfaces:
IPainter
All Known Implementing Classes:
SimpleScene

public interface IScene
extends IPainter

I contain a collection of puppets and manage their painting.


Field Summary
static IScene NULL_OBJECT
          IScene which does nothing in a safe way.
 
Method Summary
 void addPuppet(IPuppet puppet)
          add a IPuppet so that will paint above all others.
 void removePuppet(IPuppet puppet)
          Remove the IPuppet from this scene.
 
Methods inherited from interface de.unifreiburg.twodeedoo.view.IPainter
paint
 

Field Detail

NULL_OBJECT

static final IScene NULL_OBJECT
IScene which does nothing in a safe way.

Method Detail

addPuppet

void addPuppet(IPuppet puppet)
add a IPuppet so that will paint above all others.

Parameters:
puppet - some puppet not yet in this scene.

removePuppet

void removePuppet(IPuppet puppet)
Remove the IPuppet from this scene.

Parameters:
puppet - some puppet in this IScene.