Files
HDRobotics/Assets/Scripts/AppManager.cs

18 lines
421 B
C#
Raw Normal View History

using UnityEngine;
public class AppManager : MonoBehaviour
{
[SerializeField] private ProgramView view;
[SerializeField] private RobotController robotController;
void Start()
{
ProgramModel model = new ProgramModel();
ProgramPresenter presenter = new ProgramPresenter(model, view);
presenter.RegisterControlledRobot(robotController);
view.DisplayProgram(null);
}
}