package us.thirdmillenium.desktoptrainer;

import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;

import us.thirdmillenium.desktoptrainer.environment.SinglePlayEnvironment;

import java.util.Random;


public class DesktopTrainer extends ApplicationAdapter {
    // Test Map Index (1 - 5)
    private int TestMapIndex = 3;

    // Environment
    private SinglePlayEnvironment MyEnvironment;


    @Override
    public void create () {
        Random random = new Random();

        this.MyEnvironment = new SinglePlayEnvironment(TrainingParams.PathToBaseNN, random, TestMapIndex);
    }

    @Override
    public void render () {
        this.MyEnvironment.simulate(Gdx.graphics.getDeltaTime());
    }
}

package us.thirdmillenium.desktoptrainer;

import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;

import us.thirdmillenium.desktoptrainer.environment.Environment;

import java.util.Random;


public class DesktopTrainer extends ApplicationAdapter {
    // Environment
    private Environment MyEnvironment;

    @Override
    public void create () {
        Random random = new Random();

        this.MyEnvironment = new Environment(TrainingParams.PathToBaseNN, random, 5);
    }

    @Override
    public void render () {
        this.MyEnvironment.render(Gdx.graphics.getDeltaTime());
    }
}

Revert "Environment is now an extendible Java class"
Revert "Environment is now an extendible Java class"

This reverts commit c1a40a0f0ea170a3111e4e5e807080b859d626cf.
