de.unifreiburg.twodeedoo.model
Interface IActor

All Superinterfaces:
IKeyHandler, ISchedulable
All Known Implementing Classes:
BaseActor, LinearMotionActor

public interface IActor
extends ISchedulable, IKeyHandler

I simulate some well-defined part of the world.

Author:
konrad

Field Summary
 
Fields inherited from interface de.unifreiburg.twodeedoo.view.ISchedulable
NULL_OBJECT
 
Fields inherited from interface de.unifreiburg.twodeedoo.view.IKeyHandler
NULL_OBJECT
 
Method Summary
 void setContainer(IActivity container)
          Set the container of this actor.
 
Methods inherited from interface de.unifreiburg.twodeedoo.view.ISchedulable
run
 
Methods inherited from interface de.unifreiburg.twodeedoo.view.IKeyHandler
keyPressed, keyReleased
 

Method Detail

setContainer

void setContainer(IActivity container)
Set the container of this actor. An actor may be contained by up to one IActivity.

Parameters:
container - some IActivity, or null to become uncontained.