A gameEvent is used to broadcast that something of note has happened in the
in-game world such as a ship arriving at a planet.
The event is broadcast onto the global eventbus, others who subscribe to that
bus can then listen for and act upon these events.
A simple way to find who is interested in a specific message is to use 'find
usages' of the enum REASON
Examples
initiate construction of a new industrial on a
planet: zapp.getGameBus().post(new gameEvent(industrySpec2, new Date(), gameEvent.REASON.CONSTRUCT, planet0));
instruct a ship to travel towards a planet:
zapp.getGameBus().post(new gameEvent(ship1, new Date(), gameEvent.REASON.DEPART, planet2));
Events that concern application control such as menus and screens are handled by the windowEvent class.