hashi-ruby 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/src/ui/AfficheurJeu.rb +0 -6
- data/bin/src/ui/ChargementAventure.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6fba4d75fd5296abf6764a70597d8e8d26a905e7942245a9a21f60b778bbef3
|
4
|
+
data.tar.gz: a9553af237730e0d2e9db5a2b513ba4248f06d46f7f31fa87023c7893e4c6df1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 739a1e17037a1d9c06a2339d9ff886965a9a4cd67437985e0b271d604b807db109e25cfbe6bca8c45a6b9752c480cce9008645ccf65a84a7c017499b4c4ba9b6
|
7
|
+
data.tar.gz: 7437b36a188731338df54ffbfa7cb4bbfc4153917fdbcc852b83fb5e4c855047e754a04f70d3898e76ed5d8f47adeaacd7726544b919eb566ba53fc129a522c7
|
data/bin/src/ui/AfficheurJeu.rb
CHANGED
@@ -59,7 +59,6 @@ class AfficheurJeu < Gtk::Paned
|
|
59
59
|
@grille.nbAides = @nbAides
|
60
60
|
@grilleDb.grilleSolution = @grille.to_yaml()
|
61
61
|
GestionBase.changerScore(fenetre.joueur.id, @grilleDb, 0)
|
62
|
-
puts("Sauvegardé")
|
63
62
|
fenetre.finJeu()
|
64
63
|
end
|
65
64
|
end
|
@@ -139,9 +138,7 @@ class AfficheurJeu < Gtk::Paned
|
|
139
138
|
box.add(@aidePos)
|
140
139
|
@aidePos.signal_connect("clicked") do |widget|
|
141
140
|
@aide ||= @grille.obtenirAide()
|
142
|
-
puts("avant " + @nbAides.to_s)
|
143
141
|
@nbAides += @aide.niveau == 1 ? 5 : @aide.niveau == 2 ? 3 : 1
|
144
|
-
puts("après " + @nbAides.to_s)
|
145
142
|
@afficheurGrille.cercleAide = @aide.caseJeu
|
146
143
|
@afficheurGrille.queue_draw()
|
147
144
|
@aidePos.sensitive = false
|
@@ -151,9 +148,7 @@ class AfficheurJeu < Gtk::Paned
|
|
151
148
|
box.add(@aideTech)
|
152
149
|
@aideTech.signal_connect("clicked") do |widget|
|
153
150
|
@aide ||= @grille.obtenirAide()
|
154
|
-
puts("avant " + @nbAides.to_s)
|
155
151
|
@nbAides += @aide.niveau == 1 ? 5 : @aide.niveau == 2 ? 3 : 1
|
156
|
-
puts("après " + @nbAides.to_s)
|
157
152
|
@description.text = @aide.description
|
158
153
|
@afficheurGrille.queue_draw()
|
159
154
|
@aideTech.sensitive = false
|
@@ -197,7 +192,6 @@ class AfficheurJeu < Gtk::Paned
|
|
197
192
|
@grille.nbAides = @nbAides
|
198
193
|
@grilleDb.grilleSolution = @grille.to_yaml()
|
199
194
|
GestionBase.changerScore(@fenetre.joueur.id, @grilleDb, 0)
|
200
|
-
puts("Sauvegardé")
|
201
195
|
d = Gtk::MessageDialog.new()
|
202
196
|
d.text = "Score final: #{GestionBase.recupScore(@fenetre.joueur.id, @grilleDb)}"
|
203
197
|
d.message_type = :info
|