Skip to content
Thomas Opitz edited this page Apr 22, 2017 · 6 revisions

This is a simplified class diagram of the program: Basic class diagram

The simulation is split up in 5 basic parts:

WorldModel

Contains model of world including Creatures and Food.

WorldView

Responsible for graphical display of the WorldModel.

WorldController

Responsible for manipulations of the WorldModel and WorldView. Contains the WorldUpdater which handles regular updates of the model at each tick.

WorldInputListener

Listens to keyboard and mouse input. To change the state of the program it uses the WorldController.

Statistics

Contains StatElements that represent aggregate states of the WorldModel at a specific time.

Clone this wiki locally