コード例 #1
0
    void Start()
    {
        mGameData = new CGameData();

        if (mFieldViev == null)
        {
            mFieldViev = GameObject.Find("Field").GetComponent <CFieldView>();
        }
        mFieldViev.StartGame();

        input = new CInput();
        input.registerObserver(this, 0);

        mNotificationManager.Register(EEventType.eRestartGameEvent, IsGameFinished);
    }