/external/replicaisland/src/com/replica/replicaisland/ |
H A D | CameraBiasComponent.java | 31 GameObject parentObject = (GameObject)parent;
|
H A D | CrusherAndouComponent.java | 35 GameObject parentObject = (GameObject)parent; 39 parentObject.setCurrentAction(GameObject.ActionType.IDLE); 44 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
|
H A D | GameObjectManager.java | 39 private FixedSizeArray<GameObject> mMarkedForDeathObjects; 40 private GameObject mPlayer; 52 mMarkedForDeathObjects = new FixedSizeArray<GameObject>(MAX_GAME_OBJECTS); 68 factory.destroy((GameObject)deathArray[x]); 88 GameObject gameObject = (GameObject)objectArray[i]; 114 GameObject gameObject = (GameObject)inactiveArray[i]; 137 if (object instanceof GameObject) { 150 public void destroy(GameObject objec [all...] |
H A D | EnemyAnimationComponent.java | 64 GameObject parentObject = (GameObject) parent; 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) { 135 private void facePlayer(GameObject parentObjec [all...] |
H A D | FixedAnimationComponent.java | 36 GameObject parentObject = (GameObject)parent;
|
H A D | ChangeComponentsComponent.java | 32 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) { 84 GameObject parentObject = (GameObject)parent; 85 GameObject.ActionType currentAction = parentObject.getCurrentAction(); 107 public void setSwapAction(GameObject.ActionType action) { 115 public void activate(GameObject paren [all...] |
H A D | AttackAtDistanceComponent.java | 46 GameObject parentObject = (GameObject) parent; 50 GameObject player = manager.getPlayer(); 62 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 D | SleeperComponent.java | 19 import com.replica.replicaisland.GameObject.ActionType; 59 GameObject parentObject = (GameObject) parent; 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 D | PopOutComponent.java | 62 GameObject parentObject = (GameObject) parent; 66 GameObject player = manager.getPlayer(); 76 parentObject.setCurrentAction(GameObject.ActionType.HIDE); 83 parentObject.setCurrentAction(GameObject.ActionType.IDLE); 93 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
|
H A D | NPCAnimationComponent.java | 20 import com.replica.replicaisland.GameObject.ActionType; 69 GameObject parentObject = (GameObject)parent; 120 protected boolean shouldFall(GameObject parentObject) { 133 protected boolean shouldJump(GameObject parentObject) { 145 protected boolean shouldRun(GameObject parentObject) { 156 protected boolean shouldMove(GameObject parentObject) { 169 protected boolean shouldTakeHit(GameObject parentObject) { 190 protected void idle(GameObject parentObject) { 191 final GameObject [all...] |
H A D | ButtonAnimationComponent.java | 50 GameObject parentObject = (GameObject)parent; 52 if (parentObject.getCurrentAction() == GameObject.ActionType.HIT_REACT && 61 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
|
H A D | LauncherComponent.java | 19 import com.replica.replicaisland.GameObject.ActionType; 26 private GameObject mShot; 65 GameObject parentObject = (GameObject)parent; 90 public void prepareToLaunch(GameObject object, GameObject parentObject) { 104 private void fire(GameObject object, GameObject parentObject, float mAngle) { 126 GameObject effect = factory.spawn(mLaunchEffect,
|
H A D | HitPlayerComponent.java | 50 GameObject player = manager.getPlayer(); 53 GameObject parentObject = (GameObject)parent;
|
H A D | GhostComponent.java | 28 private GameObject.ActionType mTargetAction; 31 private GameObject.ActionType mButtonPressedAction; 49 mTargetAction = GameObject.ActionType.MOVE; 52 mButtonPressedAction = GameObject.ActionType.INVALID; 59 GameObject parentObject = (GameObject) parent; 154 public final void releaseControl(GameObject parentObject) { 156 GameObject player = null; 223 public final void setTargetAction(GameObject.ActionType action) { 231 public final void changeActionOnButton(GameObject [all...] |
H A D | PatrolComponent.java | 19 import com.replica.replicaisland.GameObject.ActionType; 70 GameObject parentObject = (GameObject) parent; 74 parentObject.setCurrentAction(GameObject.ActionType.MOVE); 79 GameObject player = null; 89 if (parentObject.getCurrentAction() == GameObject.ActionType.MOVE 201 private void updateAttack(GameObject player, GameObject parentObject) { 215 if (visible && parentObject.getCurrentAction() == GameObject.ActionType.MOVE) { 239 parentObject.setCurrentAction(GameObject [all...] |
H A D | GravityComponent.java | 44 ((GameObject) parent).getVelocity().add(mScaledGravity);
|
H A D | OrbitalMagnetComponent.java | 56 GameObject player = manager.getPlayer(); 58 GameObject parentObject = (GameObject)parent; 67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) {
|
H A D | PlayerComponent.java | 20 import com.replica.replicaisland.GameObject.ActionType; 118 protected void move(float time, float timeDelta, GameObject parentObject) { 216 GameObject parentObject = (GameObject)parent; 326 protected void gotoMove(GameObject parentObject) { 327 parentObject.setCurrentAction(GameObject.ActionType.MOVE); 331 protected void stateMove(float time, float timeDelta, GameObject parentObject) { 358 GameObject ghost = factory.spawnPlayerGhost(x, y, parentObject, ghostTime); 375 protected void gotoStomp(GameObject parentObject) { 376 parentObject.setCurrentAction(GameObject [all...] |
H A D | GenericAnimationComponent.java | 36 GameObject parentObject = (GameObject) parent;
|
H A D | MovementComponent.java | 40 GameObject object = (GameObject) parent;
|
H A D | SelectDialogComponent.java | 42 GameObject parentObject = (GameObject)parent;
|
H A D | SimplePhysicsComponent.java | 41 GameObject parentObject = (GameObject) parent;
|
H A D | DoorAnimationComponent.java | 64 private void open(float timeSinceTriggered, GameObject parentObject) { 105 private void close(float timeSinceTriggered, GameObject parentObject) { 146 open(delta, (GameObject)parent); 150 close(delta, (GameObject)parent); 164 ((GameObject)parent).add(mSolidSurface);
|
H A D | LevelBuilder.java | 47 public GameObject buildBackground(int backgroundImage, int levelWidth, int levelHeight) { 51 GameObject background = new GameObject(); 119 public void addTileMapLayer(GameObject background, int priority, float scrollSpeed, 186 public void promoteForegroundLayer(GameObject backgroundObject) {
|
H A D | TheSourceComponent.java | 19 import com.replica.replicaisland.GameObject.ActionType; 60 GameObject parentObject = (GameObject)parent; 61 GameObject.ActionType currentAction = parentObject.getCurrentAction(); 105 GameObject object =
|