Searched refs:mCurrentAnimation (Results 1 – 2 of 2) sorted by relevance
42 private int mCurrentAnimation; field in NPCAnimationComponent59 mCurrentAnimation = IDLE; in reset()71 final int oldAnimation = mCurrentAnimation; in update()72 switch(mCurrentAnimation) { in update()110 mCurrentAnimation = mChannelTrigger; in update()114 if (oldAnimation != mCurrentAnimation) { in update()115 mSprite.playAnimation(mCurrentAnimation); in update()180 mCurrentAnimation = RUN_START; in gotoRunStart()182 mCurrentAnimation = RUN; in gotoRunStart()187 mCurrentAnimation = RUN; in gotoRun()[all …]
35 private SpriteAnimation mCurrentAnimation; field in SpriteComponent68 mCurrentAnimation = null; in reset()85 SpriteAnimation currentAnimation = mCurrentAnimation; in update()93 mCurrentAnimation = (SpriteAnimation)animations.get(0); in update()94 currentAnimation = mCurrentAnimation; in update()96 mCurrentAnimation = currentAnimation; in update()145 mCurrentAnimation = null; in playAnimation()160 if (mCurrentAnimation != null in animationFinished()161 && !mCurrentAnimation.getLoop() in animationFinished()162 && mAnimationTime > mCurrentAnimation.getLength()) { in animationFinished()