ManagedTween

One tween TweenManager is tracking - internal bookkeeping, not part of the public API a consumer touches directly (that's to()/toColorRGB()/toColorRGBA()/cancel()).

Properties

  • tweenObj (BGE.Tweens.TweenObject)
  • target (object) — The object setAnchor()-style consumers pass to to()/toColorRGB()/toColorRGBA() - ' genuinely arbitrary (a Vector, a Drawable, a plain associative array), so there's no ' narrower type to give it.
  • applyMode (TweenApplyMode)
  • fieldName (string) — Only set (to the field on target holding the packed color) when applyMode is ' colorRGB/colorRGBA - invalid for applyMode = fields.
  • owner (BGE.GameEntity) — The GameEntity to validate every tick via isValidEntity(), or invalid for a tween ' with no automatic cleanup - see TweenManager's class doc.
  • onComplete (function) — Called once, with this tween's own target, when it retires - see to()'s doc for why ' it takes targetObj as a parameter instead of relying on m/closure state. invalid if no ' onComplete was given.
  • loopMode (BGE.Tweens.TweenLoopMode)
  • delayMs (integer)
  • delayTimer (BGE.GameTimer) — Only non-invalid while a nonzero delay hasn't elapsed yet.
  • originalStart (roAssociativeArray) — The tween's original start/dest fields, before any pingPong ChangeTweenDest() calls ' have swapped tweenObj's own start/dest - pingPong alternates between these two fixed ' endpoints forever, rather than drifting based on whatever the current leg left behind.
  • originalDest (roAssociativeArray)
  • pingPongForwardNext (boolean)