コード例 #1
0
 public CameraHeightKeyHandler
 (
     IGameValueService gameValueService,
     IActionLoopServiceFactory actionLoopServiceFactory,
     CameraHeightKeys cameraHeightKeys,
     float cameraMovementOffset
 )
 {
     _gameValueService    = gameValueService;
     _actionLoopService   = actionLoopServiceFactory.CreateActionLoopService();
     _cameraHeightKeys    = cameraHeightKeys;
     CameraMovementOffset = cameraMovementOffset;
 }
コード例 #2
0
 public IKeyHandler CreateCameraHeightHandler(IGameValueService gameValueService, CameraHeightKeys cameraHeightKeys, float cameraMovementOffset)
 {
     return(new CameraHeightKeyHandler(gameValueService, _actionLoopServiceFactory, cameraHeightKeys, cameraMovementOffset));
 }