Skip to content
Snippets Groups Projects
Commit b32aec1d authored by Ulysse Durand's avatar Ulysse Durand
Browse files

updated class

parent bffbf1b4
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ class Ligne {
+ bool isGameCleared()
}
class BaseCase
class BaseCase {
- Brain* brain
- char lettre
+ Case(Brain* brain)
......@@ -32,6 +32,7 @@ class BaseCase
// 1 : lettre dans le mot
// 2 : lettre utilisée mais pas dans le mot
// 3 : lettre non utilisée
}
class VraieCase {
- int position
......@@ -50,8 +51,8 @@ BaseCase <|-- CaseClavier
Brain "1" *-- "*" Ligne
Ligne "*" *-- "*" Case
Case "1" --> "1" Brain
Ligne "1" *-- "*" Case
BaseCase "1" *-- "*" Case
@enduml
......@@ -17,6 +17,7 @@ qt_add_qml_module(appmotus
VERSION 1.0
QML_FILES
Main.qml
SOURCES brain.h brain.cpp
)
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
......
#include "brain.h"
Brain::Brain() {}
#ifndef BRAIN_H
#define BRAIN_H
#include <string>
class Brain
{
public:
Brain();
private:
string
};
#endif // BRAIN_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment