Back to project page Hungry-Mouse.
The source code is released under:
MIT License
If you think the Android project Hungry-Mouse listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
//Name: Screen.java [abstract] //Purpose: create and keep track of low level methods // ww w . j a v a2s .c o m package com.hungry.mouse.framework; public abstract class Screen { protected final Game game; //constructor receives game instance and store it in a //final member that is accessible to all subclasses public Screen(Game game) { this.game = game; } //deltatime takes into account how much time //it passed since the last time method was called public abstract void update(float deltaTime); public abstract void paint(float deltaTime); public abstract void pause(); public abstract void resume(); public abstract void dispose(); public abstract void backButton(); }