Lines Matching refs:parentObject
65 GameObject parentObject = (GameObject)parent; in update() local
74 fire(mShot, parentObject, mAngle); in update()
77 parentObject.setCurrentAction(ActionType.ATTACK); in update()
80 mShot.setPosition(parentObject.getPosition()); in update()
85 parentObject.setCurrentAction(ActionType.IDLE); in update()
90 public void prepareToLaunch(GameObject object, GameObject parentObject) { in prepareToLaunch() argument
95 fire(mShot, parentObject, mAngle); in prepareToLaunch()
104 private void fire(GameObject object, GameObject parentObject, float mAngle) { in fire() argument
109 mLaunchDirection.multiply(parentObject.facingDirection); in fire()
124 final Vector2 position = parentObject.getPosition(); in fire()
127 position.x + (mLaunchEffectOffsetX * parentObject.facingDirection.x), in fire()
128 position.y + (mLaunchEffectOffsetY * parentObject.facingDirection.y), in fire()