예제 #1
0
        void Start()
        {
            _movementService = Registration.Resolve <IMovementService>();
            var soundService = Registration.Resolve <ISoundService>();
            var smokeService = Registration.Resolve <ISmokeService>();

            _cubeController = new CubeController(NumberOfMoves, _movementService, soundService, smokeService)
            {
                Menu = Menu
            };

            _cubeController.DisableMenu();
        }