Ramu 0.7b doc
Rect
GameObj.toRect()
Return
Rect
: GameObj rect.
Description
Get a rect with the GameObj position and size.
You can test this snippet of code here.
let gameObj = new GameObj(30, 50, 3, 2);
console.log(gameObj.toRect());
Rect
GameObj.toRect()
Rect
: GameObj rect.
Get a rect with the GameObj position and size.
You can test this snippet of code here.
let gameObj = new GameObj(30, 50, 3, 2);
console.log(gameObj.toRect());