Package

eu.joaocosta.minart

input

Permalink

package input

Visibility
  1. Public
  2. All

Type Members

  1. case class KeyboardInput(keysDown: Set[Key], keysPressed: Set[Key], keysReleased: Set[Key]) extends Product with Serializable

    Permalink

    The keyboard input stores the state of the keyboard at a certain point in time.

    The keyboard input stores the state of the keyboard at a certain point in time. It also accumulates keys that have been pressed and released.

    keysDown

    keys that are pressed down

    keysPressed

    keys that have been pressed

    keysReleased

    keys that have been released

  2. case class PointerInput(position: Option[Position], pointsPressed: List[Position], pointsReleased: List[Position], isPressed: Boolean) extends Product with Serializable

    Permalink

    The pointer input stores the state of the mouse (or similar device) at a certain point in time.

    The pointer input stores the state of the mouse (or similar device) at a certain point in time. It also accumulates points that have been pressed and released.

    position

    the current pointer position

    pointsPressed

    points where the pointer pressed

    isPressed

    true if the pointer is currently pressed

Value Members

  1. object KeyboardInput extends Serializable

    Permalink
  2. object PointerInput extends Serializable

    Permalink

Ungrouped