Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

SpritesheetAnimator.setCanDraw()

Parameters

bool bool: Flag to tells whether it will be drawn or not.

Description

Set the value of canDraw of its animations

You can test this snippet of code here.

let animator = new SpritesheetAnimator(10, 10, 35, 35);
animator.setCanDraw(false);