Back to project page tetris-android.
The source code is released under:
MIT License
If you think the Android project tetris-android 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.badlogic.androidgames.framework.impl; //from ww w. ja v a 2s.c o m import com.badlogic.androidgames.framework.Game; import com.badlogic.androidgames.framework.Screen; public abstract class GLScreen extends Screen { protected final GLGraphics glGraphics; protected final GLGame glGame; public GLScreen(Game game) { super(game); glGame = (GLGame)game; glGraphics = ((GLGame)game).getGLGraphics(); } }