[squeak-dev] The Inbox: EToys-HenrikSperreJohansen.81.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Jan 21 19:14:32 UTC 2011
A new version of EToys was added to project The Inbox:
http://source.squeak.org/inbox/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
|