Searched refs:ActionType (Results 1 - 25 of 28) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
H A DSleeperComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
61 if (parentObject.getCurrentAction() == ActionType.INVALID) {
62 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
72 parentObject.setCurrentAction(GameObject.ActionType.MOVE);
79 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
94 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
H A DChangeComponentsComponent.java32 private GameObject.ActionType mSwapOnAction;
33 private GameObject.ActionType mLastAction;
75 mSwapOnAction = GameObject.ActionType.INVALID;
76 mLastAction = GameObject.ActionType.INVALID;
83 if (mSwapOnAction != GameObject.ActionType.INVALID) {
85 GameObject.ActionType currentAction = parentObject.getCurrentAction();
107 public void setSwapAction(GameObject.ActionType action) {
H A DEnemyAnimationComponent.java23 * ActionType, which will result in this code figuring out which sequence of animations is best to
67 GameObject.ActionType currentAction = parentObject.getCurrentAction();
76 if (currentAction == GameObject.ActionType.ATTACK) {
78 } else if (currentAction == GameObject.ActionType.HIDE) {
97 if (currentAction == GameObject.ActionType.ATTACK) {
99 } else if (currentAction == GameObject.ActionType.HIDE) {
107 if (currentAction != GameObject.ActionType.ATTACK
114 if (currentAction != GameObject.ActionType.HIDE) {
H A DNPCAnimationComponent.java20 import com.replica.replicaisland.GameObject.ActionType;
171 if (parentObject.getCurrentAction() == ActionType.HIT_REACT
191 final GameObject.ActionType currentAction = parentObject.getCurrentAction();
192 if (currentAction == ActionType.MOVE) {
207 } else if (currentAction == ActionType.ATTACK) {
211 } else if (parentObject.getCurrentAction() == ActionType.DEATH) {
217 final GameObject.ActionType currentAction = parentObject.getCurrentAction();
218 if (currentAction == ActionType.MOVE) {
237 } else if (currentAction == ActionType.ATTACK) {
241 } else if (parentObject.getCurrentAction() == ActionType
[all...]
H A DCrusherAndouComponent.java39 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
44 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
H A DAttackAtDistanceComponent.java62 if (parentObject.getCurrentAction() == GameObject.ActionType.ATTACK) {
64 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
70 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
72 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
H A DTheSourceComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
61 GameObject.ActionType currentAction = parentObject.getCurrentAction();
65 if (currentAction == ActionType.HIT_REACT) {
70 parentObject.setCurrentAction(ActionType.IDLE);
71 currentAction = ActionType.IDLE;
73 parentObject.setCurrentAction(ActionType.DEATH);
74 currentAction = ActionType.DEATH;
H A DPopOutComponent.java76 parentObject.setCurrentAction(GameObject.ActionType.HIDE);
83 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
93 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
H A DAnimationComponent.java21 import com.replica.replicaisland.GameObject.ActionType;
57 private GameObject.ActionType mPreviousAction;
85 mPreviousAction = ActionType.INVALID;
115 GameObject.ActionType currentAction = parentObject.getCurrentAction();
129 if (currentAction != ActionType.HIT_REACT && mPreviousAction == ActionType.HIT_REACT) {
205 if (currentAction == ActionType.MOVE) {
259 } else if (currentAction == ActionType.ATTACK) {
269 } else if (currentAction == ActionType.HIT_REACT) {
281 } else if (currentAction == ActionType
[all...]
H A DButtonAnimationComponent.java52 if (parentObject.getCurrentAction() == GameObject.ActionType.HIT_REACT &&
61 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
H A DGameObject.java58 public enum ActionType { enum in class:GameObject
69 private ActionType mCurrentAction;
107 mCurrentAction = ActionType.INVALID;
240 public final ActionType getCurrentAction() {
244 public final void setCurrentAction(ActionType type) {
H A DPatrolComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
72 if (parentObject.getCurrentAction() == ActionType.INVALID
73 || parentObject.getCurrentAction() == ActionType.HIT_REACT) {
74 parentObject.setCurrentAction(GameObject.ActionType.MOVE);
89 if (parentObject.getCurrentAction() == GameObject.ActionType.MOVE
215 if (visible && parentObject.getCurrentAction() == GameObject.ActionType.MOVE) {
239 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
246 } else if (parentObject.getCurrentAction() == GameObject.ActionType.ATTACK) {
248 parentObject.setCurrentAction(GameObject.ActionType.MOVE);
H A DLauncherComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
77 parentObject.setCurrentAction(ActionType.ATTACK);
85 parentObject.setCurrentAction(ActionType.IDLE);
106 object.setCurrentAction(ActionType.MOVE);
H A DNPCComponent.java20 import com.replica.replicaisland.GameObject.ActionType;
118 parentObject.getCurrentAction() == ActionType.HIT_REACT) {
124 } else if (parentObject.getCurrentAction() == ActionType.DEATH) {
145 parentObject.setCurrentAction(ActionType.DEATH);
148 } else if (parentObject.getCurrentAction() == ActionType.INVALID ||
149 (!mReactToHits && parentObject.getCurrentAction() == ActionType.HIT_REACT)) {
150 parentObject.setCurrentAction(ActionType.MOVE);
169 parentObject.setCurrentAction(ActionType.MOVE);
205 parentObject.setCurrentAction(ActionType.MOVE);
243 parentObject.setCurrentAction(ActionType
[all...]
H A DGhostComponent.java28 private GameObject.ActionType mTargetAction;
31 private GameObject.ActionType mButtonPressedAction;
49 mTargetAction = GameObject.ActionType.MOVE;
52 mButtonPressedAction = GameObject.ActionType.INVALID;
223 public final void setTargetAction(GameObject.ActionType action) {
231 public final void changeActionOnButton(GameObject.ActionType pressedAction) {
H A DLaunchProjectileComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
33 private GameObject.ActionType mRequiredAction;
63 mRequiredAction = ActionType.INVALID;
95 || mRequiredAction == ActionType.INVALID) {
211 public final void setRequiredAction(GameObject.ActionType requiredAction) {
H A DPlayerComponent.java20 import com.replica.replicaisland.GameObject.ActionType;
224 if (parentObject.getCurrentAction() == ActionType.INVALID) {
277 && parentObject.getCurrentAction() == ActionType.HIT_REACT) {
327 parentObject.setCurrentAction(GameObject.ActionType.MOVE);
376 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
450 if (mTouchingGround && parentObject.getCurrentAction() != ActionType.DEATH) {
451 parentObject.setCurrentAction(ActionType.DEATH);
458 parentObject.setCurrentAction(ActionType.DEATH);
463 if (parentObject.getCurrentAction() == ActionType.DEATH && mTimer > 0.0f) {
505 parentObject.setCurrentAction(ActionType
[all...]
H A DHitReactionComponent.java20 import com.replica.replicaisland.GameObject.ActionType;
237 parent.setCurrentAction(ActionType.HIT_REACT);
/external/llvm/include/llvm/CodeGen/
H A DWinEHFuncInfo.h31 enum ActionType { Catch, Cleanup }; enum in namespace:llvm
35 ActionHandler(BasicBlock *BB, ActionType Type)
38 ActionType getType() const { return Type; }
51 ActionType Type;
61 : ActionHandler(BB, ActionType::Catch), Selector(Selector),
67 return H->getType() == ActionType::Catch;
101 CleanupHandler(BasicBlock *BB) : ActionHandler(BB, ActionType::Cleanup) {}
105 return H->getType() == ActionType::Cleanup;
/external/llvm/utils/TableGen/
H A DTableGen.cpp25 enum ActionType { enum
48 cl::opt<ActionType>
/external/clang/utils/TableGen/
H A DTableGen.cpp25 enum ActionType { enum
59 cl::opt<ActionType> Action(
/external/pdfium/core/src/fpdfdoc/
H A Ddoc_action.cpp35 CPDF_Action::ActionType CPDF_Action::GetType() const
37 ActionType eType = Unknown;
44 return (ActionType)i;
/external/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp167 enum ActionType { enum
174 static cl::opt<ActionType>
/external/v8/src/
H A Djsregexp.h748 enum ActionType { enum in class:v8::internal::ActionNode
789 ActionType action_type() { return action_type_; }
822 ActionNode(ActionType action_type, RegExpNode* on_success)
825 ActionType action_type_;
1366 DeferredAction(ActionNode::ActionType action_type, int reg)
1371 ActionNode::ActionType action_type() { return action_type_; }
1373 ActionNode::ActionType action_type_;
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp46 enum ActionType { enum
52 static cl::opt<ActionType>

Completed in 1464 milliseconds

12