UNPKG

@phaserjs/phaser

Version:
7 lines (6 loc) 144 B
export function AddRotation(rotation, ...children) { children.forEach((child) => { child.rotation += rotation; }); return children; }