Home
last modified time | relevance | path

Searched refs:ActionType (Results 1 – 25 of 68) 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/athena/wm/
Doverview_toolbar.h32 enum ActionType { enum
41 ActionType current_action() const { return current_action_; } in current_action()
44 ActionType GetHighlightAction(const ui::GestureEvent& event) const;
46 void SetHighlightAction(ActionType action);
50 void DisableAction(ActionType action);
54 bool IsActionEnabled(ActionType action) const;
64 ActionType current_action_;
Doverview_toolbar.cc135 OverviewToolbar::ActionType OverviewToolbar::GetHighlightAction( in GetHighlightAction()
146 void OverviewToolbar::SetHighlightAction(ActionType action) { in SetHighlightAction()
169 void OverviewToolbar::DisableAction(ActionType action) { in DisableAction()
180 bool OverviewToolbar::IsActionEnabled(ActionType action) const { in IsActionEnabled()
/external/chromium_org/ui/events/ozone/device/
Ddevice_event.h21 enum ActionType { enum
27 DeviceEvent(DeviceType type, ActionType action, const base::FilePath& path);
30 ActionType action_type() const { return action_type_; } in action_type()
35 ActionType action_type_;
/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.h37 enum ActionType { enum
93 const ActionType action_type,
115 ActionType action_type() const { return action_type_; } in action_type()
199 ActionType action_type_;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DRange.h164 enum ActionType { DELETE_CONTENTS, EXTRACT_CONTENTS, CLONE_CONTENTS }; enum
165 PassRefPtrWillBeRawPtr<DocumentFragment> processContents(ActionType, ExceptionState&);
166 …static PassRefPtrWillBeRawPtr<Node> processContentsBetweenOffsets(ActionType, PassRefPtrWillBeRawP…
167 …static void processNodes(ActionType, WillBeHeapVector<RefPtrWillBeMember<Node> >&, PassRefPtrWillB…
169 …static PassRefPtrWillBeRawPtr<Node> processAncestorsAndTheirSiblings(ActionType, Node* container, …
/external/chromium_org/chrome/browser/extensions/
Dextension_context_menu_model.h46 enum ActionType { NO_ACTION = 0, BROWSER_ACTION, PAGE_ACTION }; enum
118 ActionType action_type_;

123