API Docs for: 1.13.1
Show:

game.Rectangle Class

Extends game.Class
Module: physics

Rectangle shape for physic body.

Constructor

game.Rectangle

(
  • width
  • height
)

Parameters:

  • width Number
  • height Number

Item Index

Properties

Properties

height

Number

Height of rectangle.

Default: 50

width

Number

Width of rectangle.

Default: 50