@Override
    public void enter(GameContainer container, StateBasedGame game) throws SlickException{
        if(map != null){
            tm = new TowerManager();
            im = new InvaderManager();
            
            if(mapID == null){
                map = new Map(mapID, true);
                tileset = map.getTileset();
                //Varrer mapa criado pelo usuario.
            }
            else{
                map = new Map(mapID, false);
                tileset = map.getTileset();
                
                switch(mapID){
                    case TEST:
                        //TEMP:
                        im.addInvader(new Soldier(new Vector2f(0, 0), new Vector2f(0, 0), 50));
                        im.addInvader(new Soldier(new Vector2f(0, 0), new Vector2f(0, 0), 50));
                        im.addInvader(new Soldier(new Vector2f(0, 0), new Vector2f(0, 0), 50));
                        im.addInvader(new Soldier(new Vector2f(0, 0), new Vector2f(0, 0), 50));
                        im.addInvader(new Soldier(new Vector2f(0, 0), new Vector2f(0, 0), 50));
                        im.addInvader(new Soldier(new Vector2f(0, 0), new Vector2f(0, 0), 50));
                        break;
                    default:
                        throw new AssertionError(mapID.name());
                }
            }
        }
    }