alchemist
Toggle table of contents
42.3.13
alldocs
Target filter
alldocs
Switch theme
Search in API
Skip to content
alchemist
alchemist
/
it.unibo.alchemist.boundary.ui.impl
/
PointerSpeedImpl
Pointer
Speed
Impl
alldocs
class
PointerSpeedImpl
:
PointerSpeed
Implementation for
PointerSpeed
interface.
Members
Constructors
Pointer
Speed
Impl
Link copied to clipboard
alldocs
constructor
(
)
Properties
old
Position
Link copied to clipboard
alldocs
open
val
oldPosition
:
Point
Functions
get
Current
Position
Link copied to clipboard
alldocs
open
fun
getCurrentPosition
(
)
:
Point
Gets the pointer's current position.
get
Variation
Link copied to clipboard
alldocs
open
fun
getVariation
(
)
:
Point
Gets the vector [current position - old position].
set
Current
Position
Link copied to clipboard
alldocs
open
fun
setCurrentPosition
(
point
:
Point
)
Sets the pointer's current position and, consequently, updates the old one.