Back to project page Replica-Jump.
The source code is released under:
GNU General Public License
If you think the Android project Replica-Jump listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.vinicius.dsl.replicajump.manager; // ww w . j a v a2s . c o m import org.andengine.engine.camera.BoundCamera; import org.andengine.entity.text.Text; import com.vinicius.dsl.replicajump.sprite.AndroidSprite; public class GameManager { private static GameManager INSTANCE; public AndroidSprite player; public BoundCamera my_camera; public int score_value = 0; public Text text_score; public synchronized static GameManager getInstance() { if (INSTANCE == null) { INSTANCE = new GameManager(); } return INSTANCE; } public static void reset() { // TODO Auto-generated method stub INSTANCE = null; } }