/external/replicaisland/src/com/replica/replicaisland/ |
CameraBiasComponent.java | 31 GameObject parentObject = (GameObject)parent;
|
CrusherAndouComponent.java | 35 GameObject parentObject = (GameObject)parent; 39 parentObject.setCurrentAction(GameObject.ActionType.IDLE); 44 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
|
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]; 89 final float distance2 = mCameraFocus.distance2(gameObject.getPosition()); 90 if (distance2 < (gameObject.activationRadius * gameObject.activationRadius [all...] |
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 parentObject) [all...] |
FixedAnimationComponent.java | 36 GameObject parentObject = (GameObject)parent;
|
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 parent) [all...] |
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);
|
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);
|
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);
|
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.ActionType currentAction = parentObject.getCurrentAction() [all...] |
ButtonAnimationComponent.java | 50 GameObject parentObject = (GameObject)parent; 52 if (parentObject.getCurrentAction() == GameObject.ActionType.HIT_REACT && 61 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
|
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,
|
HitPlayerComponent.java | 50 GameObject player = manager.getPlayer(); 53 GameObject parentObject = (GameObject)parent;
|
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.ActionType pressedAction) [all...] |
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.ActionType.ATTACK) [all...] |
GravityComponent.java | 44 ((GameObject) parent).getVelocity().add(mScaledGravity);
|
OrbitalMagnetComponent.java | 56 GameObject player = manager.getPlayer(); 58 GameObject parentObject = (GameObject)parent; 67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) {
|
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.ActionType.ATTACK) [all...] |
GenericAnimationComponent.java | 36 GameObject parentObject = (GameObject) parent;
|
MovementComponent.java | 40 GameObject object = (GameObject) parent;
|
SelectDialogComponent.java | 42 GameObject parentObject = (GameObject)parent;
|
SimplePhysicsComponent.java | 41 GameObject parentObject = (GameObject) parent;
|
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);
|
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) {
|
TheSourceComponent.java | 19 import com.replica.replicaisland.GameObject.ActionType; 60 GameObject parentObject = (GameObject)parent; 61 GameObject.ActionType currentAction = parentObject.getCurrentAction(); 105 GameObject object =
|