Package VASSAL.build

Class GameModule

java.lang.Object
All Implemented Interfaces:
AutoConfigurable, Buildable, Configurable, GpIdSupport, MutablePropertiesContainer, PropertyNameSource, PropertySource, TranslatableStringContainer, CommandEncoder, ValidityChecker, Translatable, Auditable, ImageSearchTarget, SearchTarget, ToolBarComponent
Direct Known Subclasses:
BasicModule

The GameModule class is the base class for a VASSAL module. It is the root of the Buildable containment hierarchy, and thus also the root of the Editor's ConfigureTree. GameModule's implementation of CommandEncoder is slightly different, serving as a central dispatch point for all other CommandEncoders, which register themselves with GameModule. Components which are intended to be added directly to the GameModule are contained in the VASSAL.build.module package.

GameModule is a singleton, and contains access points for many other classes, such as DataArchive, ServerConnection, Logger, Chatter, and Prefs.