feat: implement method to start a game
This commit is contained in:
@ -57,6 +57,13 @@ public class GameInstance {
|
||||
return manager.processRequests(requests, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes and starts the game.
|
||||
*/
|
||||
public void startGame() {
|
||||
emit(manager.startGame());
|
||||
}
|
||||
|
||||
/**
|
||||
* Produces a {@link EventType#GamestateEvent} for the current {@link GameState}.
|
||||
* @return The resulting event
|
||||
|
Reference in New Issue
Block a user