public UnitGameObjectController( IOneUnitRotationController oneUnitRotationController, IOneUnitAnimationController oneUnitAnimationController, IOneUnitMotionController oneUnitMotionController, IOneUnitHealthController oneUnitHealthController ) { _rotationController = oneUnitRotationController; _animationController = oneUnitAnimationController; _motionController = oneUnitMotionController; _oneUnitHealthController = oneUnitHealthController; }
public UnitGameObjectTests() { _rotationControllerMock = new RotationControllerMock(); _unitAnimationController = new AnimationControllerMock(); _unitMotionController = new MotionControllerMock(); _unitHealthController = new HealthControllerMock(); _unitGameObjectController = new UnitGameObjectController( _rotationControllerMock, _unitAnimationController, _unitMotionController, _unitHealthController); }