Searched refs:getCurrentAction (Results 1 – 14 of 14) sorted by relevance
171 if (parentObject.getCurrentAction() == ActionType.HIT_REACT in shouldTakeHit()191 final GameObject.ActionType currentAction = parentObject.getCurrentAction(); in idle()211 } else if (parentObject.getCurrentAction() == ActionType.DEATH) { in idle()217 final GameObject.ActionType currentAction = parentObject.getCurrentAction(); in walk()241 } else if (parentObject.getCurrentAction() == ActionType.DEATH) { in walk()254 final GameObject.ActionType currentAction = parentObject.getCurrentAction(); in run()279 } else if (parentObject.getCurrentAction() == ActionType.DEATH) { in run()285 if (mSprite.animationFinished() || parentObject.getCurrentAction() != ActionType.ATTACK) { in shoot()289 } else if (parentObject.getCurrentAction() == ActionType.DEATH) { in shoot()319 final GameObject.ActionType currentAction = parentObject.getCurrentAction(); in jumpAir()[all …]
72 if (parentObject.getCurrentAction() == ActionType.INVALID in update()73 || parentObject.getCurrentAction() == ActionType.HIT_REACT) { in update()89 if (parentObject.getCurrentAction() == GameObject.ActionType.MOVE in update()215 if (visible && parentObject.getCurrentAction() == GameObject.ActionType.MOVE) { in updateAttack()246 } else if (parentObject.getCurrentAction() == GameObject.ActionType.ATTACK) { in updateAttack()
224 if (parentObject.getCurrentAction() == ActionType.INVALID) { in update()277 && parentObject.getCurrentAction() == ActionType.HIT_REACT) { in update()450 if (mTouchingGround && parentObject.getCurrentAction() != ActionType.DEATH) { in stateDead()463 if (parentObject.getCurrentAction() == ActionType.DEATH && mTimer > 0.0f) { in stateDead()509 if (parentObject.getCurrentAction() == ActionType.MOVE) { in stateFrozen()
118 parentObject.getCurrentAction() == ActionType.HIT_REACT) { in update()124 } else if (parentObject.getCurrentAction() == ActionType.DEATH) { in update()148 } else if (parentObject.getCurrentAction() == ActionType.INVALID || in update()149 (!mReactToHits && parentObject.getCurrentAction() == ActionType.HIT_REACT)) { in update()
40 switch(parentObject.getCurrentAction()) { in update()
52 if (parentObject.getCurrentAction() == GameObject.ActionType.HIT_REACT && in update()
62 if (parentObject.getCurrentAction() == GameObject.ActionType.ATTACK) { in update()
61 if (parentObject.getCurrentAction() == ActionType.INVALID) { in update()
85 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
67 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
61 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
240 public final ActionType getCurrentAction() { in getCurrentAction() method in GameObject
94 if (parentObject.getCurrentAction() == mRequiredAction in update()
115 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()