original game?
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package control;
|
||||
|
||||
public class Button {
|
||||
|
||||
}
|
||||
@@ -5,7 +5,6 @@ import java.util.List;
|
||||
|
||||
import model.gameState.GameState;
|
||||
import model.gameState.MenuState;
|
||||
import model.gameState.TitleState;
|
||||
import model.gameState.PlayState;
|
||||
|
||||
public class GameStateManager {
|
||||
@@ -16,7 +15,6 @@ public class GameStateManager {
|
||||
|
||||
public GameStateManager(){
|
||||
gamestates = new ArrayList<GameState>();
|
||||
gamestates.add(new TitleState(this));
|
||||
gamestates.add(new MenuState(this));
|
||||
gamestates.add(new PlayState(this));
|
||||
currentState = gamestates.get(0);
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package control;
|
||||
|
||||
public class JoyStick {
|
||||
|
||||
}
|
||||
@@ -42,7 +42,7 @@ public class ButtonHandler implements KeyListener{
|
||||
{
|
||||
b.setColor(new Color((int)(Math.random()*254+1),(int)(Math.random()*254+1),(int)(Math.random()*254+1)));
|
||||
}
|
||||
System.out.println(Window.ON_RASP);
|
||||
// System.out.println(Window.ON_RASP);
|
||||
if (Window.ON_RASP)
|
||||
addGpioListeners();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user