perfect: Rename minMax functions (3)

This commit is contained in:
Calcitem 2021-01-20 01:17:40 +08:00
parent de58c91578
commit 53916f9aba
2 changed files with 11 additions and 11 deletions

View File

@ -104,8 +104,8 @@ database: The database contains the arrays with the short knot values and the
/*** Klassen ***************************************************************************************************************************/ /*** Klassen ***************************************************************************************************************************/
class MiniMax class MiniMax
{ {
friend class miniMaxWinInspectDb; friend class MiniMaxWinInspectDb;
friend class miniMaxWinCalcDb; friend class MiniMaxWinCalcDb;
public: public:

View File

@ -16,7 +16,7 @@
#include <mutex> #include <mutex>
#include <condition_variable> #include <condition_variable>
class miniMaxGuiField class MiniMaxGuiField
{ {
public: public:
virtual void setAlignment(wildWeasel::alignment &newAlignment) virtual void setAlignment(wildWeasel::alignment &newAlignment)
@ -35,7 +35,7 @@ public:
| ------------------------------------- --------------------------------- | | ------------------------------------- --------------------------------- |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | pTreeViewInspect | | miniMaxGuiField | | | | pTreeViewInspect | | MiniMaxGuiField | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
@ -55,13 +55,13 @@ public:
| | | |
-----------------------------------------------------------------------------------*/ -----------------------------------------------------------------------------------*/
class miniMaxWinInspectDb class MiniMaxWinInspectDb
{ {
protected: protected:
// General Variables // General Variables
MiniMax *pMiniMax = nullptr; // pointer to perfect AI class granting the access to the database MiniMax *pMiniMax = nullptr; // pointer to perfect AI class granting the access to the database
miniMaxGuiField *pGuiField = nullptr; MiniMaxGuiField *pGuiField = nullptr;
bool showingInspectionControls = false; bool showingInspectionControls = false;
unsigned int curShowedLayer = 0; // current showed layer unsigned int curShowedLayer = 0; // current showed layer
MiniMax::StateNumberVarType curShowedState = 0; // current showed state MiniMax::StateNumberVarType curShowedState = 0; // current showed state
@ -70,8 +70,8 @@ protected:
public: public:
// Constructor / destructor // Constructor / destructor
miniMaxWinInspectDb(wildWeasel::masterMind *ww, MiniMax *pMiniMax, wildWeasel::alignment &amInspectDb, wildWeasel::font2D *font, wildWeasel::texture *textureLine, miniMaxGuiField &guiField); MiniMaxWinInspectDb(wildWeasel::masterMind *ww, MiniMax *pMiniMax, wildWeasel::alignment &amInspectDb, wildWeasel::font2D *font, wildWeasel::texture *textureLine, MiniMaxGuiField &guiField);
~miniMaxWinInspectDb(); ~MiniMaxWinInspectDb();
// Generals Functions // Generals Functions
bool createControls(); bool createControls();
@ -107,7 +107,7 @@ public:
| ------------------- ----------------- ---------------- --------------- | | ------------------- ----------------- ---------------- --------------- |
-----------------------------------------------------------------------------------*/ -----------------------------------------------------------------------------------*/
class miniMaxWinCalcDb class MiniMaxWinCalcDb
{ {
protected: protected:
@ -151,8 +151,8 @@ protected:
public: public:
// Constructor / destructor // Constructor / destructor
miniMaxWinCalcDb(wildWeasel::masterMind *ww, MiniMax *pMiniMax, wildWeasel::alignment &amCalculation, wildWeasel::font2D *font, wildWeasel::texture *textureLine); MiniMaxWinCalcDb(wildWeasel::masterMind *ww, MiniMax *pMiniMax, wildWeasel::alignment &amCalculation, wildWeasel::font2D *font, wildWeasel::texture *textureLine);
~miniMaxWinCalcDb(); ~MiniMaxWinCalcDb();
// Generals Functions // Generals Functions
bool createControls(); bool createControls();