Searched refs:GameObject (Results 1 - 25 of 45) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
H A DCameraBiasComponent.java31 GameObject parentObject = (GameObject)parent;
H A DCrusherAndouComponent.java35 GameObject parentObject = (GameObject)parent;
39 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
44 parentObject.setCurrentAction(GameObject.ActionType.ATTACK);
H A DGameObjectManager.java39 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 DEnemyAnimationComponent.java64 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 DFixedAnimationComponent.java36 GameObject parentObject = (GameObject)parent;
H A DChangeComponentsComponent.java32 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 DAttackAtDistanceComponent.java46 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 DSleeperComponent.java19 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 DPopOutComponent.java62 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 DNPCAnimationComponent.java20 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 DButtonAnimationComponent.java50 GameObject parentObject = (GameObject)parent;
52 if (parentObject.getCurrentAction() == GameObject.ActionType.HIT_REACT &&
61 parentObject.setCurrentAction(GameObject.ActionType.IDLE);
H A DLauncherComponent.java19 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 DHitPlayerComponent.java50 GameObject player = manager.getPlayer();
53 GameObject parentObject = (GameObject)parent;
H A DGhostComponent.java28 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 DPatrolComponent.java19 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 DGravityComponent.java44 ((GameObject) parent).getVelocity().add(mScaledGravity);
H A DOrbitalMagnetComponent.java56 GameObject player = manager.getPlayer();
58 GameObject parentObject = (GameObject)parent;
67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) {
H A DPlayerComponent.java20 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 DGenericAnimationComponent.java36 GameObject parentObject = (GameObject) parent;
H A DMovementComponent.java40 GameObject object = (GameObject) parent;
H A DSelectDialogComponent.java42 GameObject parentObject = (GameObject)parent;
H A DSimplePhysicsComponent.java41 GameObject parentObject = (GameObject) parent;
H A DDoorAnimationComponent.java64 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 DLevelBuilder.java47 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 DTheSourceComponent.java19 import com.replica.replicaisland.GameObject.ActionType;
60 GameObject parentObject = (GameObject)parent;
61 GameObject.ActionType currentAction = parentObject.getCurrentAction();
105 GameObject object =

Completed in 214 milliseconds

12