Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain De Laage De Bellefaye
LO21-projet
Commits
0ca8f77f
Verified
Commit
0ca8f77f
authored
May 30, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
Composition -> agregation
parent
e224a87c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Automate/Automate.h
View file @
0ca8f77f
...
...
@@ -23,9 +23,9 @@ class Automate {
return
*
instance
;
}
~
Automate
()
{
de
lete
fonction
;
delete
regleVoisinage
;
}
void
setFonction
(
Fonction
&
f
)
{
delete
fonction
;
fonction
=
new
Fonction
(
f
)
;
}
void
setRegleVoisinage
(
RegleVoisinage
&
r
)
{
delete
regleVoisinage
;
regleVoisinage
=
new
RegleVoisinage
(
r
)
;
}
~
Automate
()
=
de
fault
;
void
setFonction
(
Fonction
&
f
)
{
fonction
=
&
f
;
}
void
setRegleVoisinage
(
RegleVoisinage
&
r
)
{
regleVoisinage
=
&
r
;
}
void
setDelai
(
const
unsigned
int
d
)
{
delai
=
d
;
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment