MapEvent<T> constructor
MapEvent<T> (
- int mapId,
- T value
Build a Map Event, that relates a mapId with a given value.
The mapId
is the id of the map that triggered the event.
value
may be null
in events that don't transport any meaningful data.
Implementation
MapEvent(this.mapId, this.value);