Home
last modified time | relevance | path

Searched refs:ActionType (Results 1 – 25 of 29) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
DNPCAnimationComponent.java20 import com.replica.replicaisland.GameObject.ActionType;
171 if (parentObject.getCurrentAction() == ActionType.HIT_REACT in shouldTakeHit()
191 final GameObject.ActionType currentAction = parentObject.getCurrentAction(); in idle()
192 if (currentAction == ActionType.MOVE) { in idle()
207 } else if (currentAction == ActionType.ATTACK) { in idle()
211 } else if (parentObject.getCurrentAction() == ActionType.DEATH) { in idle()
217 final GameObject.ActionType currentAction = parentObject.getCurrentAction(); in walk()
218 if (currentAction == ActionType.MOVE) { in walk()
237 } else if (currentAction == ActionType.ATTACK) { in walk()
241 } else if (parentObject.getCurrentAction() == ActionType.DEATH) { in walk()
[all …]
DChangeComponentsComponent.java32 private GameObject.ActionType mSwapOnAction;
33 private GameObject.ActionType mLastAction;
75 mSwapOnAction = GameObject.ActionType.INVALID; in reset()
76 mLastAction = GameObject.ActionType.INVALID; in reset()
83 if (mSwapOnAction != GameObject.ActionType.INVALID) { in update()
85 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
107 public void setSwapAction(GameObject.ActionType action) { in setSwapAction()
DEnemyAnimationComponent.java67 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
76 if (currentAction == GameObject.ActionType.ATTACK) { in update()
78 } else if (currentAction == GameObject.ActionType.HIDE) { in update()
97 if (currentAction == GameObject.ActionType.ATTACK) { in update()
99 } else if (currentAction == GameObject.ActionType.HIDE) { in update()
107 if (currentAction != GameObject.ActionType.ATTACK in update()
114 if (currentAction != GameObject.ActionType.HIDE) { in update()
DSleeperComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
61 if (parentObject.getCurrentAction() == ActionType.INVALID) { in update()
62 parentObject.setCurrentAction(GameObject.ActionType.IDLE); in update()
72 parentObject.setCurrentAction(GameObject.ActionType.MOVE); in update()
79 parentObject.setCurrentAction(GameObject.ActionType.ATTACK); in update()
94 parentObject.setCurrentAction(GameObject.ActionType.IDLE); in update()
DTheSourceComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
61 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
65 if (currentAction == ActionType.HIT_REACT) { in update()
70 parentObject.setCurrentAction(ActionType.IDLE); in update()
71 currentAction = ActionType.IDLE; in update()
73 parentObject.setCurrentAction(ActionType.DEATH); in update()
74 currentAction = ActionType.DEATH; in update()
DAnimationComponent.java21 import com.replica.replicaisland.GameObject.ActionType;
57 private GameObject.ActionType mPreviousAction;
85 mPreviousAction = ActionType.INVALID; in reset()
115 GameObject.ActionType currentAction = parentObject.getCurrentAction(); in update()
129 if (currentAction != ActionType.HIT_REACT && mPreviousAction == ActionType.HIT_REACT) { in update()
205 if (currentAction == ActionType.MOVE) { in update()
259 } else if (currentAction == ActionType.ATTACK) { in update()
269 } else if (currentAction == ActionType.HIT_REACT) { in update()
281 } else if (currentAction == ActionType.DEATH) { in update()
322 } else if (currentAction == ActionType.FROZEN) { in update()
DPatrolComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
72 if (parentObject.getCurrentAction() == ActionType.INVALID in update()
73 || parentObject.getCurrentAction() == ActionType.HIT_REACT) { in update()
74 parentObject.setCurrentAction(GameObject.ActionType.MOVE); in update()
89 if (parentObject.getCurrentAction() == GameObject.ActionType.MOVE in update()
215 if (visible && parentObject.getCurrentAction() == GameObject.ActionType.MOVE) { in updateAttack()
239 parentObject.setCurrentAction(GameObject.ActionType.ATTACK); in updateAttack()
246 } else if (parentObject.getCurrentAction() == GameObject.ActionType.ATTACK) { in updateAttack()
248 parentObject.setCurrentAction(GameObject.ActionType.MOVE); in updateAttack()
DAttackAtDistanceComponent.java62 if (parentObject.getCurrentAction() == GameObject.ActionType.ATTACK) { in update()
64 parentObject.setCurrentAction(GameObject.ActionType.IDLE); in update()
70 parentObject.setCurrentAction(GameObject.ActionType.ATTACK); in update()
72 parentObject.setCurrentAction(GameObject.ActionType.IDLE); in update()
DGhostComponent.java28 private GameObject.ActionType mTargetAction;
31 private GameObject.ActionType mButtonPressedAction;
49 mTargetAction = GameObject.ActionType.MOVE; in reset()
52 mButtonPressedAction = GameObject.ActionType.INVALID; in reset()
223 public final void setTargetAction(GameObject.ActionType action) { in setTargetAction()
231 public final void changeActionOnButton(GameObject.ActionType pressedAction) { in changeActionOnButton()
DNPCComponent.java20 import com.replica.replicaisland.GameObject.ActionType;
118 parentObject.getCurrentAction() == ActionType.HIT_REACT) { in update()
124 } else if (parentObject.getCurrentAction() == ActionType.DEATH) { in update()
145 parentObject.setCurrentAction(ActionType.DEATH); in update()
148 } else if (parentObject.getCurrentAction() == ActionType.INVALID || in update()
149 (!mReactToHits && parentObject.getCurrentAction() == ActionType.HIT_REACT)) { in update()
150 parentObject.setCurrentAction(ActionType.MOVE); in update()
169 parentObject.setCurrentAction(ActionType.MOVE); in update()
205 parentObject.setCurrentAction(ActionType.MOVE); in update()
243 parentObject.setCurrentAction(ActionType.ATTACK); in executeCommand()
[all …]
DGameObject.java58 public enum ActionType { enum in GameObject
69 private ActionType mCurrentAction;
107 mCurrentAction = ActionType.INVALID; in reset()
240 public final ActionType getCurrentAction() { in getCurrentAction()
244 public final void setCurrentAction(ActionType type) { in setCurrentAction()
DPlayerComponent.java20 import com.replica.replicaisland.GameObject.ActionType;
224 if (parentObject.getCurrentAction() == ActionType.INVALID) { in update()
277 && parentObject.getCurrentAction() == ActionType.HIT_REACT) { in update()
327 parentObject.setCurrentAction(GameObject.ActionType.MOVE); in gotoMove()
376 parentObject.setCurrentAction(GameObject.ActionType.ATTACK); in gotoStomp()
450 if (mTouchingGround && parentObject.getCurrentAction() != ActionType.DEATH) { in stateDead()
451 parentObject.setCurrentAction(ActionType.DEATH); in stateDead()
458 parentObject.setCurrentAction(ActionType.DEATH); in stateDead()
463 if (parentObject.getCurrentAction() == ActionType.DEATH && mTimer > 0.0f) { in stateDead()
505 parentObject.setCurrentAction(ActionType.FROZEN); in gotoFrozen()
[all …]
DLaunchProjectileComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
33 private GameObject.ActionType mRequiredAction;
63 mRequiredAction = ActionType.INVALID; in reset()
95 || mRequiredAction == ActionType.INVALID) { in update()
211 public final void setRequiredAction(GameObject.ActionType requiredAction) { in setRequiredAction()
DLauncherComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
77 parentObject.setCurrentAction(ActionType.ATTACK); in update()
85 parentObject.setCurrentAction(ActionType.IDLE); in update()
106 object.setCurrentAction(ActionType.MOVE); in fire()
DPopOutComponent.java76 parentObject.setCurrentAction(GameObject.ActionType.HIDE); in update()
83 parentObject.setCurrentAction(GameObject.ActionType.IDLE); in update()
93 parentObject.setCurrentAction(GameObject.ActionType.ATTACK); in update()
DCrusherAndouComponent.java39 parentObject.setCurrentAction(GameObject.ActionType.IDLE); in update()
44 parentObject.setCurrentAction(GameObject.ActionType.ATTACK); in update()
DButtonAnimationComponent.java52 if (parentObject.getCurrentAction() == GameObject.ActionType.HIT_REACT && in update()
61 parentObject.setCurrentAction(GameObject.ActionType.IDLE); in update()
DHitReactionComponent.java20 import com.replica.replicaisland.GameObject.ActionType;
237 parent.setCurrentAction(ActionType.HIT_REACT); in receivedHit()
/external/llvm/tools/llvm-mc-fuzzer/
Dllvm-mc-fuzzer.cpp24 enum ActionType { enum
29 static cl::opt<ActionType>
/external/llvm/utils/TableGen/
DTableGen.cpp25 enum ActionType { enum
49 cl::opt<ActionType>
/external/pdfium/core/src/fpdfdoc/
Ddoc_action.cpp35 CPDF_Action::ActionType CPDF_Action::GetType() const { in GetType()
36 ActionType eType = Unknown; in GetType()
43 return (ActionType)i; in GetType()
/external/clang/utils/TableGen/
DTableGen.cpp25 enum ActionType { enum
59 cl::opt<ActionType> Action(
/external/v8/src/regexp/
Djsregexp.h635 enum ActionType { enum
674 ActionType action_type() { return action_type_; } in action_type()
707 ActionNode(ActionType action_type, RegExpNode* on_success) in ActionNode()
710 ActionType action_type_;
1254 DeferredAction(ActionNode::ActionType action_type, int reg) in DeferredAction()
1259 ActionNode::ActionType action_type() { return action_type_; } in action_type()
1261 ActionNode::ActionType action_type_;
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp171 enum ActionType { enum
178 static cl::opt<ActionType>
/external/llvm/tools/sancov/
Dsancov.cc55 enum ActionType { enum
61 cl::opt<ActionType> Action(

12