Closed RickLothar closed 6 years ago
A proxy interface and a class that implement the interface to control the access to the game.
[x] The proxy interface include a passcode function which should check the password the player entered.
[x] ProxyScreen implements proxy interface. It takes the input from the player and compare it with the default password.
[x] If the password is right, navigate the player to TitleScreen.
[x] If the password is wrong, stay in ProxyScreen.
A proxy interface and a class that implement the interface to control the access to the game.
[x] The proxy interface include a passcode function which should check the password the player entered.
[x] ProxyScreen implements proxy interface. It takes the input from the player and compare it with the default password.
[x] If the password is right, navigate the player to TitleScreen.
[x] If the password is wrong, stay in ProxyScreen.