| 404 | } |
| 405 | |
| 406 | void Host::NewGameCommand( const CommandsArguments& args ) |
| 407 | { |
| 408 | DifficultyType difficulty= Difficulty::Normal; |
| 409 | if( args.size() >= 1u ) |
| 410 | difficulty= DifficultyNumberToDifficulty( std::atoi( args[0].c_str() ) ); |
| 411 | |
| 412 | NewGame( difficulty ); |
| 413 | } |
| 414 | |
| 415 | void Host::RunLevelCommand( const CommandsArguments& args ) |
| 416 | { |
nothing calls this directly
no test coverage detected