Class in reactor_core.js

Rectangle

1 public functions in 1 groups · show internal (_) functions

Core runtime: data, input and the ReactorEvents feed.

Familiar territory. Rectangle keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.

The rectangle class.

@class
@extends
PIXI.Rectangle
@param
x number The x coordinate for the upper-left corner.
@param
y number The y coordinate for the upper-left corner.
@param
width number The width of the rectangle.
@param
height number The height of the rectangle.
function Rectangle()

Quick Reference

Setup & Creation 1

initialize() Sets up a new instance.

Setup & Creation

initialize

method source
Rectangle.prototype.initialize(x, y, width, height)

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)