fix some calls to the incorrect method overload. oops!
This commit is contained in:
parent
c34d173180
commit
ec94bafd03
|
@ -107,7 +107,7 @@ public class StateManager implements Disposable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends GameState> T overlay(Class<T> stateType) {
|
public <T extends GameState> T overlay(Class<T> stateType) {
|
||||||
return overlay(stateType);
|
return overlay(stateType, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends GameState> T overlay(Class<T> stateType, String name) {
|
public <T extends GameState> T overlay(Class<T> stateType, String name) {
|
||||||
|
@ -127,7 +127,7 @@ public class StateManager implements Disposable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends GameState> T swapTopWith(Class<T> stateType) {
|
public <T extends GameState> T swapTopWith(Class<T> stateType) {
|
||||||
return swapTopWith(stateType);
|
return swapTopWith(stateType, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends GameState> T swapTopWith(Class<T> stateType, String name) {
|
public <T extends GameState> T swapTopWith(Class<T> stateType, String name) {
|
||||||
|
@ -154,7 +154,7 @@ public class StateManager implements Disposable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends GameState> T swapTopNonOverlayWith(Class<T> stateType) {
|
public <T extends GameState> T swapTopNonOverlayWith(Class<T> stateType) {
|
||||||
return swapTopWith(stateType);
|
return swapTopWith(stateType, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends GameState> T swapTopNonOverlayWith(Class<T> stateType, String name) {
|
public <T extends GameState> T swapTopNonOverlayWith(Class<T> stateType, String name) {
|
||||||
|
|
Loading…
Reference in a new issue