public CraftMenuController(ICraftMenuView _view, ICraftModel _model) { view = _view; view.Controller = this; model = _model; view.Hide(); }
public Spacecraft(string model) { SpacecraftModelFactory factory = SpacecraftModelFactory.GetSpacecraftModelFactory(); this.craftModel = factory.GetSpacecraftModel(model); }
void Start() { model = new CraftModel(ghostManager); controller = new CraftMenuController(view, model); }