A type containing RGB (red, green, blue) values as a Tuple.
A type containing RGBA (red, green, blue, alpha) values as a Tuple.
A tuple containing the texture name and its path.
A texture or its name.
A record containing textures names as keys, and themselves as values.
A record containing texture names as keys, and their paths as values.
The LeftClick button handler, usually used.
The RightClick button handler, usually used.
The set of buttons created.
The EventEmitter to watch the KeyBoard.
The list of textures loaded via the loadTextures and loadTexture functions.
The actual position of the mouse.
The Set of keys that are actually pressed.
Returns a number whose value is limited to the given range.
The value to clamp.
The lower boundary of the output range.
The upper boundary of the output range.
A function to test a collision and get information if colliding.
First rectangle.
Second rectangle.
null
it not intersecting.Generate a texture from the Application renderer and options.
The application, needed to get the renderer.
The options of the colored texture.
Get a texture from the PIXI.Loader.shared loader, must be present in the loadedTexturesNames to asserts that it has been loaded.
The name of the texture to search.
Get a texture from the PIXI.Loader.shared loader, must be present in the loadedTexturesNames to asserts that it has been loaded.
The name of the texture to search.
Test if two boxes collides.
First box.
Second box.
Returns true if the number is odd.
The number to test.
Test if a key is pressed.
Map a number from one range to another.
The value to map.
First range minimum.
First range maximum.
Second range minimum.
Second range maximum.
Update the mousePosition values. Returns the mouse position itself.
The PIXI Application to get the mouse from.
Generated using TypeDoc
The events that can occurs on any Button.