November 2015
Beginner to intermediate
420 pages
9h 2m
English
The next class to review is MainGameScreen, which can be found at core/src/com/packtpub/libgdx/bludbourne/screens/MainGameScreen.java. The MainGameScreen class is the first Screen implementation for our game and represents the main gameplay screen used to display the game map, player avatar, and any UI components.
The class diagram for MainGameScreen (Figure 8) shows all the attributes and method signatures for our first pass:

Figure 8
The import packages for MainGameScreen are as follows:
package com.packtpub.libgdx.bludbourne.screens; import com.badlogic.gdx.Gdx; import ...
Read now
Unlock full access