@@ -0,0 +1,1512 @@
+package tetris.game;%0A%0Aimport org.newdawn.slick.Color;%0Aimport org.newdawn.slick.GameContainer;%0Aimport org.newdawn.slick.Graphics;%0Aimport org.newdawn.slick.Image;%0Aimport org.newdawn.slick.Input;%0Aimport org.newdawn.slick.SlickException;%0Aimport org.newdawn.slick.state.BasicGameState;%0Aimport org.newdawn.slick.state.StateBasedGame;%0A%0Apublic class TetrisMenuState extends BasicGameState%7B%0A%09%0A%09private Image img;%0A%09private String newGame, quit;%0A%09%0A%09@Override%0A%09public void init(GameContainer container, StateBasedGame game) throws SlickException %7B%0A%09%09img = new Image(%22C:%5C%5CUsers%5C%5Ccalreiter16%5C%5CDesktop%5C%5CAHA%5C%5CAHA 15-16%5C%5CAP Computer Science%5C%5CTetris2.0%5C%5Cjdl.png%22);%0A%09%09newGame = %22NEW GAME (ENTER)%22;%0A%09%09quit = %22QUIT (ESC)%22;%0A%09%7D%0A%09%0A%09@Override%0A%09public void update(GameContainer container, StateBasedGame game, int delta) throws SlickException %7B%0A%09%09if (container.getInput().isKeyPressed(Input.KEY_ENTER)) %7B%0A%09%09%09container.getInput().clearKeyPressedRecord();%0A%09%09%09game.enterState(Tetris.GAME_STATE);%0A%09%09%7D%0A%09%09%0A%09%09if (container.getInput().isKeyPressed(Input.KEY_ESCAPE)) %7B%0A%09%09%09System.exit(0);%0A%09%09%7D%0A%09%7D%0A%0A%09@Override%0A%09public void render(GameContainer c, StateBasedGame arg1, Graphics g) throws SlickException %7B%0A%09%09img.draw(c.getWidth()/5, c.getHeight()/5, c.getWidth()/5, c.getHeight()/5);%0A%09%09g.setColor(Color.white);%0A%09%09//change to be font - text selection capabilites%0A%09%09g.drawString(newGame, c.getWidth()/2, c.getHeight()/2);%0A%09%09g.drawString(quit, c.getWidth()/2, c.getHeight()/2+50);%0A%09%7D%0A%09%0A%09@Override%0A%09public int getID() %7B%0A%09%09return Tetris.MENU_STATE;%0A%09%7D%0A%09%0A%7D%0A

Create TetrisMenuState.java