[Q] Learning Event
ducasse
ducasse at iam.unibe.ch
Sat Mar 30 17:40:35 UTC 2002
on 3/30/02 6:19 PM, Karl Ramberg at karl.ramberg at chello.se wrote:
>
>
> ducasse wrote:
>>
>> Hi
>>
>> I want to do a small game based on the FlasherMorph.
>> I change its location via the step method so that it crosses the screen
>>
>> I redefined the methods
>> handleMouseDown: to return true
>>
>> mouseDown: to toggle the direction
>>
>> Now I tried to increase the speed when the user lets the mouse on the morph.
>> There is a handleMouseOver: but no method mouseOver:.
>> What is the idiom to get the mouseOver behavior?
>
> Look at mouseEnter and mouseLeave
I found that and realize I need to use them. For keystroke I'm still stuck
Thanks
More information about the Squeak-dev
mailing list
|