alchemist
24.0.7-dev06+b76482905
alchemist-ui-tooling
/
it.unibo.alchemist.boundary.ui.impl
/
PointerSpeedImpl
Pointer
Speed
Impl
class
PointerSpeedImpl
:
PointerSpeed
Content copied to clipboard
Implementation for
PointerSpeed
interface.
Functions
Properties
Functions
get
Current
Position
Link copied to clipboard
open
fun
getCurrentPosition
(
)
:
Point
Content copied to clipboard
Gets the pointer's current position.
get
Variation
Link copied to clipboard
open
fun
getVariation
(
)
:
Point
Content copied to clipboard
Gets the vector [current position - old position].
set
Current
Position
Link copied to clipboard
open
fun
setCurrentPosition
(
point
:
Point
)
Content copied to clipboard
Sets the pointer's current position and, consequently, updates the old one.
Properties
old
Position
Link copied to clipboard
open
val
oldPosition
:
Point
Content copied to clipboard