[squeak-dev] The Trunk: EToys-HenrikSperreJohansen.81.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Jun 21 20:46:32 UTC 2011
Chris Muller uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-HenrikSperreJohansen.81.mcz
==================== Summary ====================
Name: EToys-HenrikSperreJohansen.81
Author: HenrikSperreJohansen
Time: 21 January 2011, 8:13:44.285 pm
UUID: b956ee5e-7d08-f946-9b79-fd22c6d0c3d1
Ancestors: EToys-nice.79
Update to use pragma-based sound preferences
=============== Diff against EToys-nice.79 ===============
Item was changed:
----- Method: Morph>>makeFenceSound (in category '*Etoys-support') -----
makeFenceSound
+ SoundService soundEnabled ifTrue:
- Preferences soundsEnabled ifTrue:
[self playSoundNamed: 'scratch'].
!
Item was changed:
----- Method: Player>>makeBounceSound: (in category 'misc') -----
makeBounceSound: soundName
"Having bounced off an edge, produce the given sound"
+ SoundService soundEnabled
- Preferences soundsEnabled
ifTrue: [self costume playSoundNamed: soundName]!
More information about the Squeak-dev
mailing list
|