Mouse

final class Mouse(mouseEvents: Batch[MouseEvent], val position: Point, val leftMouseIsDown: Boolean, val buttonsDown: Set[MouseButton])
Companion:
object
class Object
trait Matchable
class Any

Value members

Constructors

def this(mouseEvents: Batch[MouseEvent], position: Point, leftMouseIsDown: Boolean)

Concrete methods

def wasDownAt(position: Point, button: MouseButton): Boolean
def wasDownAt(x: Int, y: Int, button: MouseButton): Boolean
def wasDownWithin(x: Int, y: Int, width: Int, height: Int, button: MouseButton): Boolean
def wasMouseClickedWithin(x: Int, y: Int, width: Int, height: Int): Boolean
def wasMouseDownAt(position: Point): Boolean
def wasMouseDownWithin(x: Int, y: Int, width: Int, height: Int): Boolean
def wasMousePositionWithin(x: Int, y: Int, width: Int, height: Int): Boolean
def wasMouseUpAt(position: Point): Boolean
def wasMouseUpWithin(x: Int, y: Int, width: Int, height: Int): Boolean
def wasUpAt(position: Point, button: MouseButton): Boolean
def wasUpAt(x: Int, y: Int, button: MouseButton): Boolean
def wasUpWithin(bounds: Rectangle, button: MouseButton): Boolean
def wasUpWithin(x: Int, y: Int, width: Int, height: Int, button: MouseButton): Boolean

Deprecated fields

Deprecated