Back to project page Terry-Coin.
The source code is released under:
Apache License
If you think the Android project Terry-Coin 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.tcg.terry.gamestates; /*from w w w . j a v a2s. c om*/ import com.tcg.terry.main.Game; import com.tcg.terry.managers.GameStateManager; public abstract class GameState { protected GameStateManager gsm; long c; public GameState(GameStateManager gsm) { this.gsm = gsm; Game.res.stopAllSound(); init(); } public GameState(GameStateManager gsm, long c) { this.gsm = gsm; this.c = c; } public abstract void init(); public abstract void update(float dt); public abstract void draw(); public abstract void handleInput(); public abstract void dispose(); }