Home
last modified time | relevance | path

Searched refs:getCurrentAction (Results 1 – 14 of 14) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DNPCAnimationComponent.java171 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 …]
DPatrolComponent.java72 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()
DPlayerComponent.java224 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()
DNPCComponent.java118 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()
DGenericAnimationComponent.java40 switch(parentObject.getCurrentAction()) { in update()
DButtonAnimationComponent.java52 if (parentObject.getCurrentAction() == GameObject.ActionType.HIT_REACT && in update()
DAttackAtDistanceComponent.java62 if (parentObject.getCurrentAction() == GameObject.ActionType.ATTACK) { in update()
DSleeperComponent.java61 if (parentObject.getCurrentAction() == ActionType.INVALID) { in update()
DChangeComponentsComponent.java85 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
DEnemyAnimationComponent.java67 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
DTheSourceComponent.java61 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
DGameObject.java240 public final ActionType getCurrentAction() { in getCurrentAction() method in GameObject
DLaunchProjectileComponent.java94 if (parentObject.getCurrentAction() == mRequiredAction in update()
DAnimationComponent.java115 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()