Rect - HermesPasser/Ramu GitHub Wiki

class Rect

Description

Represents the position and size of a GameObj.

Constructor Parameters

  • int x: Position in x.
  • int y: Position in y.
  • int w: Width.
  • int h: Height.
let rect = new Rect(10, 10, 100, 100);

Properties

Static Methods