public CraftMenuController(ICraftMenuView _view, ICraftModel _model)
 {
     view            = _view;
     view.Controller = this;
     model           = _model;
     view.Hide();
 }
Esempio n. 2
0
        public Spacecraft(string model)
        {
            SpacecraftModelFactory factory = SpacecraftModelFactory.GetSpacecraftModelFactory();

            this.craftModel = factory.GetSpacecraftModel(model);
        }
Esempio n. 3
0
 void Start()
 {
     model      = new CraftModel(ghostManager);
     controller = new CraftMenuController(view, model);
 }