2025-10-14 16:38:35 +09:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class AppManager : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
[SerializeField] private ProgramView view;
|
2025-10-15 10:39:44 +09:00
|
|
|
[SerializeField] private RobotController robotController;
|
2025-10-14 16:38:35 +09:00
|
|
|
|
|
|
|
|
void Start()
|
|
|
|
|
{
|
|
|
|
|
ProgramModel model = new ProgramModel();
|
|
|
|
|
ProgramPresenter presenter = new ProgramPresenter(model, view);
|
|
|
|
|
|
2025-10-15 10:39:44 +09:00
|
|
|
presenter.RegisterControlledRobot(robotController);
|
|
|
|
|
|
2025-10-14 16:38:35 +09:00
|
|
|
view.DisplayProgram(null);
|
|
|
|
|
}
|
|
|
|
|
}
|