Home
last modified time | relevance | path

Searched refs:ActionType (Results 1 – 25 of 58) 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/webkit/Source/WebCore/page/
DContextMenuController.cpp171 ASSERT(item->type() == ActionType || item->type() == CheckableActionType); in contextMenuItemSelected()
444 … ContextMenuItem showFonts(ActionType, ContextMenuItemTagShowFonts, contextMenuItemTagShowFonts()); in createAndAppendFontSubMenu()
449 ContextMenuItem outline(ActionType, ContextMenuItemTagOutline, contextMenuItemTagOutline()); in createAndAppendFontSubMenu()
451 ContextMenuItem styles(ActionType, ContextMenuItemTagStyles, contextMenuItemTagStyles()); in createAndAppendFontSubMenu()
452 …ContextMenuItem showColors(ActionType, ContextMenuItemTagShowColors, contextMenuItemTagShowColors(… in createAndAppendFontSubMenu()
479 ContextMenuItem showSpellingPanel(ActionType, ContextMenuItemTagShowSpellingPanel, in createAndAppendSpellingAndGrammarSubMenu()
481 ContextMenuItem checkSpelling(ActionType, ContextMenuItemTagCheckSpelling, in createAndAppendSpellingAndGrammarSubMenu()
514 ContextMenuItem showSpellingPanel(ActionType, ContextMenuItemTagShowSpellingPanel, in createAndAppendSpellingAndGrammarSubMenu()
516 ContextMenuItem checkSpelling(ActionType, ContextMenuItemTagCheckSpelling, in createAndAppendSpellingAndGrammarSubMenu()
536 …ContextMenuItem start(ActionType, ContextMenuItemTagStartSpeaking, contextMenuItemTagStartSpeaking… in createAndAppendSpeechSubMenu()
[all …]
/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/webkit/Source/WebCore/dom/
DRange.h150 enum ActionType { DELETE_CONTENTS, EXTRACT_CONTENTS, CLONE_CONTENTS }; enum
151 PassRefPtr<DocumentFragment> processContents(ActionType, ExceptionCode&);
152 …static PassRefPtr<Node> processContentsBetweenOffsets(ActionType, PassRefPtr<DocumentFragment>, No…
153 …static void processNodes(ActionType, Vector<RefPtr<Node> >&, PassRefPtr<Node> oldContainer, PassRe…
155 …static PassRefPtr<Node> processAncestorsAndTheirSiblings(ActionType, Node* container, ContentsProc…
/external/webkit/Source/WebCore/platform/
DContextMenuItem.h168 ActionType, enumerator
179 : type(ActionType), in PlatformMenuItemDescription()
197 : type(ActionType), in PlatformMenuItemDescription()
215 : type(ActionType) in PlatformMenuItemDescription()
/external/webkit/Source/WebCore/platform/haiku/
DContextMenuItemHaiku.cpp55 if (type == ActionType) in ContextMenuItem()
83 return ActionType; in type()
93 if (type == ActionType) in setType()
/external/webkit/Source/WebKit2/Shared/
DWebContextMenuItemData.cpp40 : m_type(WebCore::ActionType) in WebContextMenuItemData()
54 …ASSERT(type == WebCore::ActionType || type == WebCore::CheckableActionType || type == WebCore::Sep… in WebContextMenuItemData()
122 case WebCore::ActionType: in decode()
/external/webkit/Source/WebCore/platform/win/
DContextMenuItemWin.cpp48 m_type = info.fType == MFT_SEPARATOR ? SeparatorType : ActionType; in ContextMenuItem()
52 if (m_type == ActionType && info.fMask & MIIM_STRING) in ContextMenuItem()

123