Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Corentin MIMEAU
PolyDefense
Commits
daa0bae5
Commit
daa0bae5
authored
Dec 01, 2015
by
Vincent BRULE
Browse files
up
parent
10298dae
Changes
1
Hide whitespace changes
Inline
Side-by-side
carte.py
View file @
daa0bae5
...
...
@@ -216,7 +216,7 @@ def verif_pose_tourelle (ecran, carte, (i, j)):
def
affichage_chronometre
(
ecran
,
temps_passe
,
temps_depart
):
affichage_chrono
=
Constante
.
temps_tour
-
(
int
(
temps_passe
)
-
int
(
temps_depart
))
affichage_chrono_texte
=
Constante
.
type_ecriture_chrono
.
render
(
str
(
affichage_chrono
),
True
,
Constante
.
ORANGE
,
(
0
,
0
,
0
))
draw
.
rect
(
ecran
,
(
0
,
0
,
0
),
(
Constante
.
largeur
/
2
,
17
*
Constante
.
taille_rel
,
Constante
.
taille_rel
,
Constante
.
taille_rel
))
draw
.
rect
(
ecran
,
(
0
,
255
,
0
),
(
Constante
.
largeur
/
2
,
17
*
Constante
.
taille_rel
,
Constante
.
taille_rel
,
Constante
.
taille_rel
))
ecran
.
blit
(
affichage_chrono_texte
,
(
Constante
.
largeur
/
2
,
17
*
Constante
.
taille_rel
))
display
.
flip
()
...
...
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