package view;


import com.badlogic.gdx.InputProcessor;
import

/**
 * Created by Bianca on 07/06/2017.
 */
public class UIManager {

    private ModelManager modelManager;
    private EntityManager entityManager;
    private HackerGame game;
    private InputProcessor myInput;

    public UIManager (ModelManager model) {
        game = new HackerGame(this, modelManager);

        initialize();
    }

    public void initialize() {
        game.setScreen(new MainMenuScreen(this.game));
        myInput = new
    }

    public EntityManager getEntityManager() {
        return entityManager;
    }

    public HackerGame getGame() {
        return this.game;
    }




}

@@ -10,18 +10,16 @@
 iew;%0D%0A%0D%0A
-%0D%0A
 import c
@@ -23,46 +23,96 @@
 t co
-m.badlogic.gdx.InputProcessor;%0D%0Aimport
+ntroller.Manager;%0D%0Aimport controller.ModelManager;%0D%0Aimport model.Managers.EntityManager;
 %0D%0A%0D%0A
@@ -301,45 +301,8 @@
 me;%0D
-%0A    private InputProcessor myInput;%0D
 %0A%0D%0A 
@@ -341,24 +341,113 @@
 r model) %7B%0D%0A
+        modelManager = model;%0D%0A        entityManager = modelManager.getEntityManager();%0D%0A
         game
@@ -486,18 +486,16 @@
 ager);%0D%0A
-%0D%0A
         
@@ -610,31 +610,8 @@
 );%0D%0A
-        myInput = new%0D%0A
     
@@ -777,13 +777,122 @@
 %0D%0A%0D%0A
-%0D%0A%0D%0A
+    public void setState (Manager.STATE state) %7B%0D%0A        modelManager.getManager().stateManager(state);%0D%0A    %7D
 %0D%0A%7D%0D%0A
+%0D%0A

Create UIManager.java