Class EventBus
The main Event Bus for SC4X. Some events are vestigial from the game I ripped the code out of. I'm slowly working on features as I go and this is definitely an area that could use some TLC
A future refactor will likely remove many default events in favour of a registration system for custom events. Currently lower in priority, feel free to contribute improvements yourself or just wait until I get around to it.public static class EventBus
- Inheritance
-
EventBus
- Inherited Members
Properties
Audio
An instance of the EventsAudio class, which is a container for events that cleans up our event bus.
public static EventsAudio Audio { get; private set; }
Property Value
Data
An instance of the EventsData class, which is a container for events that cleans up our event bus.
public static EventsData Data { get; private set; }
Property Value
GUI
An instance of the EventsUI class, which is a container for events that cleans up our event bus.
public static EventsUI GUI { get; private set; }
Property Value
Gameplay
An instance of the EventsGameplay class, which is a container for events that cleans up our event bus.
public static EventsGameplay Gameplay { get; private set; }
Property Value
Inventory
An instance of the EventsInventory class, which is a container for events that cleans up our event bus.
public static EventsInventory Inventory { get; private set; }