Home
last modified time | relevance | path

Searched refs:ActionType (Results 1 – 25 of 44) 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()
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 …]
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()
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()
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 …]
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()
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()
/external/clang/tools/c-index-test/
Dcore_main.cpp31 enum class ActionType { enum
40 static cl::opt<ActionType>
41 Action(cl::desc("Action:"), cl::init(ActionType::None),
43 clEnumValN(ActionType::PrintSourceSymbols,
216 if (options::Action == ActionType::None) { in indextest_core_main()
221 if (options::Action == ActionType::PrintSourceSymbols) { in indextest_core_main()
/external/clang/test/Modules/
Dpr27890.cpp6 enum ActionType {}; enum
7 opt<ActionType> a(values(""));
/external/pdfium/core/fpdfdoc/
Dcpdf_action.h18 enum ActionType { enum
45 ActionType GetType() const;
Dcpdf_action.cpp51 CPDF_Action::ActionType CPDF_Action::GetType() const { in GetType()
61 return static_cast<ActionType>(i); in GetType()
/external/clang/lib/Frontend/
DFrontendAction.cpp156 PluginASTAction::ActionType ActionType = P->getActionType(); in CreateWrappedASTConsumer() local
157 if (ActionType == PluginASTAction::Cmdline) { in CreateWrappedASTConsumer()
163 ActionType = PluginASTAction::AddAfterMainAction; in CreateWrappedASTConsumer()
168 if ((ActionType == PluginASTAction::AddBeforeMainAction || in CreateWrappedASTConsumer()
169 ActionType == PluginASTAction::AddAfterMainAction) && in CreateWrappedASTConsumer()
172 if (ActionType == PluginASTAction::AddBeforeMainAction) { in CreateWrappedASTConsumer()
/external/llvm/tools/llvm-mc-fuzzer/
Dllvm-mc-fuzzer.cpp23 enum ActionType { enum
28 static cl::opt<ActionType>
/external/swiftshader/third_party/LLVM/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp31 enum ActionType { enum
35 static cl::opt<ActionType>
/external/llvm/utils/TableGen/
DTableGen.cpp26 enum ActionType { enum
51 cl::opt<ActionType>

12