mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 03:48:21 +01:00
12 lines
244 B
Smalltalk
12 lines
244 B
Smalltalk
Extension { #name : #'SDL_MouseMotionEvent' }
|
|
|
|
{ #category : #'*Diya' }
|
|
SDL_MouseMotionEvent >> triggableOn: arg1 [
|
|
^ arg1 inner: self worldPosition
|
|
]
|
|
|
|
{ #category : #'*Diya' }
|
|
SDL_MouseMotionEvent >> worldPosition [
|
|
^ (self x) @ (self y )
|
|
]
|