コード例 #1
0
 public UnitGameObjectController(
     IOneUnitRotationController oneUnitRotationController,
     IOneUnitAnimationController oneUnitAnimationController,
     IOneUnitMotionController oneUnitMotionController,
     IOneUnitHealthController oneUnitHealthController
     )
 {
     _rotationController      = oneUnitRotationController;
     _animationController     = oneUnitAnimationController;
     _motionController        = oneUnitMotionController;
     _oneUnitHealthController = oneUnitHealthController;
 }
コード例 #2
0
        public UnitGameObjectTests()
        {
            _rotationControllerMock  = new RotationControllerMock();
            _unitAnimationController = new AnimationControllerMock();
            _unitMotionController    = new MotionControllerMock();
            _unitHealthController    = new HealthControllerMock();

            _unitGameObjectController = new UnitGameObjectController(
                _rotationControllerMock,
                _unitAnimationController,
                _unitMotionController,
                _unitHealthController);
        }