Package it.unibo.alchemist.boundary.interactions

Types

Link copied to clipboard
class AnalogPanHelper(current: Point)

Helps manage panning done through the mouse, therefore analog in the sense that the panning can go towards any direction.

Link copied to clipboard
class BaseInteractionManager<T, P : Position2D<P>>(monitor: AbstractFXDisplay<T, P>) : InteractionManager<T, P>

An interaction manager that implements pan, select, move, delete and zoom.

Link copied to clipboard
class DigitalPanManager<P : Position2D<P>>(speed: Int, period: Long, wormhole: Wormhole2D<P>, updates: () -> Unit)

Manages panning towards a cardinal (N, S, E, W) or intercardinal (NE, NW, SE, SW) direction. When a direction is added, panning towards it begins and doesn't stop until the given direction is removed.

Link copied to clipboard
enum Direction2D : Enum<Direction2D>

Cardinal and intercardinal directions indicating a movement.

Link copied to clipboard
interface InteractionManager<T, P : Position2D<P>>

An interaction manager that controls the input/output on the environment done through the GUI.

Link copied to clipboard
class SelectionHelper<T, P : Position2D<P>>

Manages multi-element selection and click-selection.