alchemist
alchemist
/
it.unibo.alchemist.boundary.wormhole.implementation
/
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
oldPosition
Link copied to clipboard
private
open
val
oldPosition
:
Point
Content copied to clipboard