Changeset View
Changeset View
Standalone View
Standalone View
src/activities/lightsoff/lightsoff.js
Context not available. | |||||
245 | }) | 245 | }) | ||
---|---|---|---|---|---|
246 | 246 | | |||
247 | if (nb === 0) { | 247 | if (nb === 0) { | ||
248 | items.blockClicks = true | ||||
248 | items.bonus.good("tux") | 249 | items.bonus.good("tux") | ||
249 | } | 250 | } | ||
250 | 251 | | |||
Context not available. | |||||
260 | /* Refresh the lights */ | 261 | /* Refresh the lights */ | ||
261 | refreshModel() | 262 | refreshModel() | ||
262 | } | 263 | } | ||
264 | | ||||
265 | function windowPressed(index) { | ||||
266 | audioEffects.play("'qrc:/gcompris/src/core/resource/sounds/scroll.wav'") | ||||
267 | switchLight(index) | ||||
268 | } | ||||
Context not available. |