Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

class SimpleRectCollisor: Collisor

Description

Rectangle collisor.

Constructor Parameters

let rec1 = new SimpleRectCollisor(10, 15, 100, 100); let rec2 = new SimpleRectCollisor(15, 10, 50, 50);

new GameObj().update = function(){ if (keyCode.space in Ramu.lastKeysPressed){ rec1 .canCollide = !rec1.canCollide; } }; ```

Inherited Members