Esempio n. 1
0
    public void Inject()
    {
        MainPageUIController control            = MainPageUIController.Instance;
        SchemePageController schemeController   = SchemePageController.Instance;
        KeyPageController    keyBoardController = KeyPageController.Instance;

        //SetWallController setWallController = SetWallController.Instance;
        Instance.inject(PageType.MainPage, control);
        UICopntrollerData Scheme   = Instance.inject(PageType.Scheme, schemeController);
        UICopntrollerData KeyBoard = Instance.inject(PageType.KeyBoard, keyBoardController);

        //UICopntrollerData SetWall = Instance.inject(PageType.SetWall, setWallController);
        Scheme.state   = SimpleLoadedState.Success;
        KeyBoard.state = SimpleLoadedState.Success;
        //SetWall.state = SimpleLoadedState.Success;
    }
Esempio n. 2
0
 public OptionsController()
 {
     panel          = optionsPage = OptionsPage.Instance;
     mainController = MainPageUIController.Instance;
 }