1 2 3 4 5 6 7 8 9 10 11 12 13
package ru.olamedia.game; public class ClientGame extends Game { GameManager manager; public ClientGame(GameManager manager) { this.manager = manager; } public void pause(){ // open in-game menu super.pause(); manager.start(); } }