Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
projetcppqt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Durand Ulysse
projetcppqt
Commits
b32aec1d
Commit
b32aec1d
authored
4 months ago
by
Ulysse Durand
Browse files
Options
Downloads
Patches
Plain Diff
updated class
parent
bffbf1b4
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
classes.puml
+4
-3
4 additions, 3 deletions
classes.puml
motus/CMakeLists.txt
+1
-0
1 addition, 0 deletions
motus/CMakeLists.txt
motus/brain.cpp
+3
-0
3 additions, 0 deletions
motus/brain.cpp
motus/brain.h
+15
-0
15 additions, 0 deletions
motus/brain.h
with
23 additions
and
3 deletions
classes.puml
+
4
−
3
View file @
b32aec1d
...
...
@@ -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
Base
Case "1"
*
-- "
*
"
Case
@enduml
This diff is collapsed.
Click to expand it.
motus/CMakeLists.txt
+
1
−
0
View file @
b32aec1d
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
motus/brain.cpp
0 → 100644
+
3
−
0
View file @
b32aec1d
#include
"brain.h"
Brain
::
Brain
()
{}
This diff is collapsed.
Click to expand it.
motus/brain.h
0 → 100644
+
15
−
0
View file @
b32aec1d
#ifndef BRAIN_H
#define BRAIN_H
#include
<string>
class
Brain
{
public:
Brain
();
private:
string
};
#endif // BRAIN_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment