VISU - PHP Game Framework

CursorEnterSignal extends Signal
in package

Table of Contents

Properties

$entered  : int
The cursor enter/leave state
$window  : Window
The window that received the event

Methods

__construct()  : mixed
Constructor
entered()  : bool
Returns whether the cursor entered the window
isPropagationStopped()  : bool
Has the propagation been stopped?
left()  : bool
Returns whether the cursor left the window
stopPropagation()  : void
Stop the propagation of the signal

Properties

Methods

__construct()

Constructor

public __construct(Window $window, int $entered) : mixed
Parameters
$window : Window

The window that received the event

$entered : int

The cursor enter/leave state

entered()

Returns whether the cursor entered the window

public entered() : bool
Return values
bool

isPropagationStopped()

Has the propagation been stopped?

public isPropagationStopped() : bool
Return values
bool

left()

Returns whether the cursor left the window

public left() : bool
Return values
bool

stopPropagation()

Stop the propagation of the signal

public stopPropagation() : void

        
On this page

Search results