mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-26 03:18:22 +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 )
|
|
]
|