MCPcopy Create free account
hub / github.com/esengine/esengine / updateGear

Method updateGear

packages/fairygui/src/core/GObject.ts:682–689  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

680 }
681
682 protected updateGear(index: number): void {
683 if (this._underConstruct || this._gearLocked) return;
684
685 const gear = this._gears[index];
686 if (gear?.controller) {
687 gear.updateState();
688 }
689 }
690
691 public checkGearController(index: number, c: Controller): boolean {
692 return this._gears[index]?.controller === c;

Callers 15

setXYMethod · 0.95
setSizeMethod · 0.95
setScaleMethod · 0.95
touchableMethod · 0.95
grayedMethod · 0.95
rotationMethod · 0.95
alphaMethod · 0.95
playingMethod · 0.80
frameMethod · 0.80
colorMethod · 0.80
colorMethod · 0.80
strokeColorMethod · 0.80

Calls 1

updateStateMethod · 0.45

Tested by

no test coverage detected