在我的遊戲場景中,我從一個隨着MoveBy動作隨機移動的球類生成球。我的問題是,在MoveTo動作結束後,我如何釋放球?請參閱我下面的代碼: //GameScene class
...
Ball *ball = new Ball(); //<----need to release this after action is over
ball->spawnBall(this);
...
A/art(30231): art/runtime/check_jni.cc:65] string: 'LevelScore11�
art/runtime/check_jni.cc:65] '
art/runtime/check_jni.cc:65] in call to NewStringUTF
A/art(16684): art/runtime/check_jni.cc:65] f