MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / play

Method play

src/scripting/api/Display/MotionManager.ts:89–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 public play():void {
90 if (this._isRunning) {
91 return;
92 }
93 if (this._dur === 0 || this._ttl <= 0) {
94 return;
95 }
96 this._isRunning = true;
97 this._timeKeeper.reset();
98 if (this._tween) {
99 this._tween.play();
100 }
101 }
102
103 public stop():void {
104 if (!this._isRunning) {

Callers

nothing calls this directly

Calls 2

resetMethod · 0.65
playMethod · 0.65

Tested by

no test coverage detected