Package com.csse3200.game.services
Class DocketService
java.lang.Object
com.csse3200.game.services.DocketService
Service class that manages docket-related events in the game.
It provides a central point for registering and triggering events associated with dockets.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new DocketService instance.DocketService
(EventHandler docketEventHandler) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the EventHandler associated with this DocketService.
-
Constructor Details
-
DocketService
public DocketService()Constructs a new DocketService instance. Initialises the EventHandler that will manage all docket-related events. -
DocketService
-
-
Method Details
-
getEvents
Retrieves the EventHandler associated with this DocketService. The EventHandler can be used to register and trigger events related to dockets.- Returns:
- the EventHandler managing docket-related events.
-