Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
cmd_level Class Reference

#include <usercmd.h>

+ Inheritance diagram for cmd_level:
+ Collaboration diagram for cmd_level:

Public Member Functions

 cmd_level ()
 
void execute (std::string const &args) override
 
- Public Member Functions inherited from Xboard2engineCommand
 Xboard2engineCommand (std::string const &s, std::string const &h)
 
 ~Xboard2engineCommand () override
 
- Public Member Functions inherited from engineUserCommand
 engineUserCommand (std::string const &s, std::string const &h)
 
virtual ~engineUserCommand ()
 
 engineUserCommand (engineUserCommand const &)=delete
 
 engineUserCommand (engineUserCommand &&)=delete
 
engineUserCommandoperator= (engineUserCommand const &)=delete
 
engineUserCommandoperator= (engineUserCommand &&)=delete
 

Additional Inherited Members

- Public Attributes inherited from engineUserCommand
std::string m_name
 
std::string m_hint
 
bool m_isImplemented = true
 
bool m_isHidden = false
 

Detailed Description

Definition at line 416 of file usercmd.h.

Constructor & Destructor Documentation

◆ cmd_level()

cmd_level::cmd_level ( )
inline

Definition at line 418 of file usercmd.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ execute()

void cmd_level::execute ( std::string const & args)
overridevirtual
Todo
keep initial game time so that after move 35, all increment time is used, currently, it is flapping around 10s left

Reimplemented from engineUserCommand.

Definition at line 642 of file usercmd.cpp.

+ Here is the call graph for this function: