Package dd.sim

Objects for building simulations.

See:
          Description

Class Summary
Briefing The Briefing class is a SimObject that contains a GameRoot, an ArrayList of ttext strings (generally HTML) that contain introductory information for the current turn of the scenario, and an ArrayList of layer names for display with the corresponding text strings.
ConfigParameter Parameter used to configure proposals.
CostTable The CostTable class is an ordinary SimObject with convenience functions that stores a database of proposal configurations and their costs.
GameRoot The GameRoot contains all of the other objects that make up the game, including the player objects, proposals, scenario, game state, and the map.
GrowthAgent  
GrowthManager  
Layer A collection of related pieces of information.
Map The current geographic region of interest.
MapCell A single geographic location in a map.
Player A simple class template.
Proposal A policy change in the DLUG game.
SimObject Base class for simulation objects.
 

Package dd.sim Description

Objects for building simulations. This package contains classes that comprise the core simulation components. Most simulation components derive from the SimObject class which provides generic support for simulation as well as convenience support for attributes, logging, and so on. Classes in this package are composed to make new runnable simulations.

Classes in this package contain data pertaining to objects and methods that query that data and provide simulation behavior. This data comprises the model in a Model in the Model/View/Controller framework. These classes do not provide any support for visualization, user interface, or handling user input commands. This provides support for a "headless" model which receives input from elsewhere.

In the typical game architecture, the main simulation runs on a server, and clients merely request information from that (possibly remote) simulation. It is possible, however, to run the simulation anywhere as long as the data is complete.