Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Fardale
Prog2
Commits
ef1aaad9
Commit
ef1aaad9
authored
Apr 10, 2015
by
William Babonnaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Couleur violet !
parent
0ffa07b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
flood.scala
flood.scala
+2
-2
No files found.
flood.scala
View file @
ef1aaad9
...
...
@@ -28,7 +28,7 @@ class Flood extends JeuCouleur {
case
0
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
blue
)
case
1
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
green
)
case
2
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
orange
)
case
3
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
magenta
)
case
3
=>
boutons
(
i
)(
j
).
active_couleur
(
new
Color
(
140
,
0
,
230
)
)
case
4
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
red
)
}
x
=
Random
.
nextInt
(
5
)
...
...
@@ -56,7 +56,7 @@ class Flood extends JeuCouleur {
case
0
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
blue
)
case
1
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
green
)
case
2
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
orange
)
case
3
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
magenta
)
case
3
=>
boutons
(
i
)(
j
).
active_couleur
(
new
Color
(
140
,
0
,
230
)
)
case
4
=>
boutons
(
i
)(
j
).
active_couleur
(
Color
.
red
)
}
x
=
Random
.
nextInt
(
5
)
...
...
Write
Preview
Markdown
is supported
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