@@ -74,29 +74,29 @@ public class ScreenManager<S extends ManagedScreen, T extends ScreenTransition>
74
74
* This framebuffer is used to store the content of the previously active
75
75
* screen while a transition is played.
76
76
*/
77
- private FrameBuffer lastFBO ;
77
+ protected FrameBuffer lastFBO ;
78
78
79
79
/**
80
80
* This framebuffer is used to store the content of the active screen while
81
81
* a transition is played.
82
82
*/
83
- private FrameBuffer currFBO ;
83
+ protected FrameBuffer currFBO ;
84
84
85
85
/**
86
86
* The screen that was shown before the {@linkplain #currScreen current
87
87
* screen}.
88
88
*/
89
- private @ Nullable ManagedScreen lastScreen ;
89
+ protected @ Nullable ManagedScreen lastScreen ;
90
90
91
91
/**
92
92
* The current screen.
93
93
*/
94
- private @ Nullable ManagedScreen currScreen ;
94
+ protected @ Nullable ManagedScreen currScreen ;
95
95
96
96
/**
97
97
* The input processors of the {@linkplain #currScreen current screen}.
98
98
*/
99
- private Array <InputProcessor > currentProcessors = new Array <>();
99
+ protected Array <InputProcessor > currentProcessors = new Array <>();
100
100
101
101
/**
102
102
* The blank screen used internally when no screen has been pushed yet.
@@ -106,7 +106,7 @@ public class ScreenManager<S extends ManagedScreen, T extends ScreenTransition>
106
106
/**
107
107
* The transition effect currently rendered.
108
108
*/
109
- private @ Nullable T transition ;
109
+ protected @ Nullable T transition ;
110
110
111
111
/**
112
112
* A map with all initialized screens.
@@ -118,13 +118,13 @@ public class ScreenManager<S extends ManagedScreen, T extends ScreenTransition>
118
118
*/
119
119
private final Map <String , T > transitions = new ConcurrentHashMap <>();
120
120
121
- private final Queue <Triple <T , S , Object []>> transitionQueue = new LinkedList <>();
121
+ protected final Queue <Triple <T , S , Object []>> transitionQueue = new LinkedList <>();
122
122
123
- private BasicInputMultiplexer gameInputMultiplexer ;
123
+ protected BasicInputMultiplexer gameInputMultiplexer ;
124
124
125
125
private int currentWidth , currentHeight ;
126
126
127
- private boolean initialized = false ;
127
+ protected boolean initialized = false ;
128
128
129
129
private boolean hasDepth ; // needed, when the framebuffers are (re)created
130
130
0 commit comments