/*create balls and player*/ private void createModel() { createBallClass = new CreateBall( 10, new BallCallBack() { @Override public void onBallCreate(Ball ball) { createBall(ball); } }); createPlayer(); createBallClass.runCreateBall(); createWeapon(); }
@Override public void resume() { createBallClass.runCreateBall(); }
@Override public void pause() { createBallClass.endOfTimer(); }