Package de.unifreiburg.twodeedoo.model

Game model (actors, activities)

See:
          Description

Interface Summary
IActivity A company contains actors and runs them.
IActor I simulate some well-defined part of the world.
 

Class Summary
BaseActor Default base class for IActor implementations
LinearMotionActor I move my IPuppet along a linear path.
SimpleActivity Simple Composite of IActors.
 

Package de.unifreiburg.twodeedoo.model Description

Game model (actors, activities)

This package deals with the world simulation model of the game. IActors simulate one part of the world, e.g. the position and speed of the player. They are also notified of keyboard events.

IActivitys group multiple related IActors so that they can be replaced simultaneously: you could e.g. have an IActivity for each level of the game and another IActivity for the in-game menu.