kava-i / bebarengan-sepur

1 stars 0 forks source link

Create reload Options #11

Closed georgbuechner closed 4 years ago

georgbuechner commented 4 years ago

Following Options needed

Implementing this would also solves issue 4: if a player dies, simply call Reload player and then set room to

I would suggest adding a Game context, to call all commands simular to these. all commands should start with game_ f.e. game_reloadGame, game_reloadPlayer etc. The new CGameCOntext is permeable if the parser parses no events, if it does, permeability changes to false.

georgbuechner commented 4 years ago

Reload options created: reloadGame (delete all players, their world, stats and the main world of game) reloadPlayer (delete a player, reload world and stats) reloadWorlds (reload all worlds (possibility for programm to change world for all players during runtime) reloadWorld (reload world of one player) updatePlayers (addy new player in playsers.json to game)