Namespace org.visab.globalmodel
This package contains models that are used globally across the whole project.
All model-style JAVA classes that are necessarily used across a variety of locations within VISAB shall be placed here or in a fitting sub-package. Furthermore, the interfaces for these models can also be found in here.
Classes
BasicVISABFile
The BasicVISABFile which serves as an instantiable base implementation for the IVISABFile interface.
ControlledBy
Constants for the agent type. Can be used if the game uses the same strings.
GameName
Constants for the game names. These names are not required in any way when implemententing a new game, but may be helpful to avoid typos.
Rectangle
A rectangle is defined by its width, height and its top left corner anchor point.
SessionStatus
The SessionStatus class holds information on the current status of a tranmission session.
Vector2<T>
A two dimensional vector representation.
Interfaces
IImageContainer
The marker interface, that all image classes have to implement. IImageContainer POJOs are essentially mirrors of the class which was serialized on the game side.
IMetaInformation
The IMetaInformation interface, that all meta information POJOs have to implement. Mirrors the IMetaInformation that was sent by the game.
IStatistics
The marker interface, that all statistic POJOs have to implement. IStatistic POJOs are essentially mirrors of the class which was serialized on the game side.
IVISABFile
The IVISABFile interface that all VISAB file POJOs have to implement.