Feat: Add splash layer (#29)
Add splash layer, support game start, settings, exit Modify settings layer, add "go back to splash" and "exit" Add character threshold for history input Closes #28
This commit is contained in:
@@ -45,5 +45,13 @@ export const systemApi = {
|
||||
|
||||
startGame(config: GameStartConfigDTO) {
|
||||
return httpClient.post<{ status: string; message: string }>('/api/game/start', config);
|
||||
},
|
||||
|
||||
shutdown() {
|
||||
return httpClient.post<{ status: string; message: string }>('/api/control/shutdown', {});
|
||||
},
|
||||
|
||||
resetGame() {
|
||||
return httpClient.post<{ status: string; message: string }>('/api/control/reset', {});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user