public Vec2 getProjectileSpawnPoint() { // TODO move to an interface like IProjectileParent or something mProjectileSpawnPoint.set( mPhysics.getX() + 3, mPhysics.getY()); // TODO change arguments to mPhysics.getProjectileSpawn return mProjectileSpawnPoint; }
public void draw(SpriteBatch sb) { sb.drawSprite( mAnimation.getFrame(), mPhysics.getX() + mDrawOffsetX, mPhysics.getY() + mDrawOffsetY, mDrawWidth, mDrawHeight); }
public float getY() { return mPhysics.getY(); }