/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="settings"></param>
 /// <param name="camera"></param>
 public CursorHandler(
     Settings settings,
     CameraFacade camera)
 {
     _settings = settings;
     _camera   = camera;
 }
Exemple #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="settings"></param>
 /// <param name="cameraFacade"></param>
 /// <param name="playerRegistry"></param>
 public SelectingHandler(
     Settings settings,
     CameraFacade cameraFacade,
     PlayerRegistry playerRegistry)
 {
     _settings       = settings;
     _cameraFacade   = cameraFacade;
     _playerRegistry = playerRegistry;
 }
Exemple #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="settings"></param>
 /// <param name="camera"></param>
 /// <param name="playerRegistry"></param>
 public ControllingHandler(
     Settings settings,
     CameraFacade camera,
     PlayerRegistry playerRegistry)
 {
     _settings       = settings;
     _camera         = camera;
     _playerRegistry = playerRegistry;
 }
 void Awake()
 {
     player = GameObject.FindWithTag("Player").GetComponent <PlayerFacade>();
     cam    = GameObject.FindWithTag("MainCamera").GetComponent <CameraFacade>();
 }
Exemple #5
0
 public CameraFollow(Settings settings, CameraFacade camBehaviour)
 {
     _settings     = settings;
     _camBehaviour = camBehaviour;
 }