Home
last modified time | relevance | path

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

123

/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()
/external/chromium_org/cc/layers/
Dlayer_iterator.cc19 typename ActionType>
21 LayerIterator<LayerType, LayerList, RenderSurfaceType, ActionType>* it) { in Begin()
30 typename ActionType>
32 LayerIterator<LayerType, LayerList, RenderSurfaceType, ActionType>* it) { in End()
41 typename ActionType>
43 LayerIterator<LayerType, LayerList, RenderSurfaceType, ActionType>* it) { in Next()
77 typename ActionType>
79 LayerIterator<LayerType, LayerList, RenderSurfaceType, ActionType>* it) { in GoToHighestInSubtree()
Dlayer_iterator.h243 typename ActionType>
245 LayerIterator<LayerType, LayerList, RenderSurfaceType, ActionType>* it);
250 typename ActionType>
252 LayerIterator<LayerType, LayerList, RenderSurfaceType, ActionType>* it);
257 typename ActionType>
259 LayerIterator<LayerType, LayerList, RenderSurfaceType, ActionType>* it);
265 typename ActionType>
267 LayerIterator<LayerType, LayerList, RenderSurfaceType, ActionType>* it);
/external/chromium/chrome/browser/debugger/
Ddevtools_remote_listen_socket_unittest.h44 enum ActionType { enum
58 explicit ListenSocketTestAction(ActionType action);
59 ListenSocketTestAction(ActionType action, std::string data);
60 ListenSocketTestAction(ActionType action,
66 ActionType type() const { return action_; } in type()
69 ActionType action_;
/external/chromium/net/base/
Dlisten_socket_unittest.h38 enum ActionType { enum
51 explicit ListenSocketTestAction(ActionType action) : action_(action) {} in ListenSocketTestAction()
52 ListenSocketTestAction(ActionType action, std::string data) in ListenSocketTestAction()
57 ActionType type() const { return action_; } in type()
60 ActionType action_;
/external/chromium_org/net/socket/
Dtcp_listen_socket_unittest.h33 enum ActionType { enum
46 explicit TCPListenSocketTestAction(ActionType action) : action_(action) {} in TCPListenSocketTestAction()
47 TCPListenSocketTestAction(ActionType action, std::string data) in TCPListenSocketTestAction()
52 ActionType type() const { return action_; } in type()
55 ActionType action_;
/external/chromium_org/remoting/protocol/
Djingle_messages.h26 enum ActionType { enum
55 ActionType action_value,
61 static std::string GetActionName(ActionType action);
71 ActionType action;
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_actions.h29 enum ActionType { enum
49 const ActionType action_type,
64 ActionType action_type() const { return action_type_; } in action_type()
130 ActionType action_type_;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DRange.h164 enum ActionType { DELETE_CONTENTS, EXTRACT_CONTENTS, CLONE_CONTENTS }; enum
165 PassRefPtr<DocumentFragment> processContents(ActionType, ExceptionState&);
166 …static PassRefPtr<Node> processContentsBetweenOffsets(ActionType, PassRefPtr<DocumentFragment>, No…
167 …static void processNodes(ActionType, Vector<RefPtr<Node> >&, PassRefPtr<Node> oldContainer, PassRe…
169 …static PassRefPtr<Node> processAncestorsAndTheirSiblings(ActionType, Node* container, ContentsProc…

123