package com.missionbit.game.states;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.ui.Button;


/**
 * Created by missionbit on 6/26/17.
 */

public class MenuState extends State {
    private Texture menu;
    private Texture playBtn;
    private Texture instructBtn;


    public MenuState(GameStateManager gsm) {
        super(gsm);
        menu = new Texture("coolbg1.png");
        playBtn = new Texture("playbutton.png");
    }

    @Override
    public void handleInput() {
        if(Gdx.input.justTouched()){
            if(Gdx.input.getX() > 483 && Gdx.input.getX() < 600){
                    if (Gdx.input.getY() > 300 && Gdx.input.getY()<500){
                        gsm.set(new PlayState(gsm));
            }
            }

        }

    }

    @Override
    public void update(float dt) {

    }

    @Override
    public void render(SpriteBatch sb) {
        sb.begin();
        sb.draw(menu, 0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
        sb.end();

    }




    public void dispose() {
        menu.dispose();
    }

}

@@ -629,32 +629,33 @@
 t() %7B%0A        if
+ 
 (Gdx.input.justT
@@ -663,16 +663,17 @@
 uched())
+ 
 %7B%0A      
@@ -680,16 +680,17 @@
       if
+ 
 (Gdx.inp
@@ -731,16 +731,17 @@
 ) %3C 600)
+ 
 %7B%0A      
@@ -742,36 +742,32 @@
                 
- 
-   
 if (Gdx.input.ge
@@ -800,19 +800,18 @@
 tY()
-%3C
+ %3C 
 500)
+ 
 %7B%0A
-    
     
@@ -851,24 +851,28 @@
 tate(gsm));%0A
+    
             
@@ -1145,18 +1145,16 @@
     %7D%0A%0A%0A
-%0A%0A
     publ

Fix indentation