Graphics Programs Reference
In-Depth Information
Figure 2-8 . Game menu: edit player
When clicked, the “New Game” item starts a new activity to display an OpenGL sur-
face view on the screen ( Figure 2-9 ) . The Java class for this new activity is identic-
al to class Main from the GL SURFACE application; it has simply been renamed
to Game. (The associated Renderer class for this activity is also identical to the
GLES20Renderer class from the GL SURFACE application).
Figure 2-9 . Game menu: new game
 
 
 
Search WWH ::




Custom Search