Ejemplo n.º 1
0
 public ActorFactory(
     ActorSettings settings,
     IActorStatuses statuses,
     Vector2Int startPosition)
 {
     _settings      = settings;
     _statuses      = statuses;
     _startPosition = startPosition;
 }
Ejemplo n.º 2
0
 public ActorController(
     ActorSettings settings,
     ActorModel model,
     MoveHandler moveHandler,
     InteractHandler interactHandler,
     PushHandler pushHandler,
     ResetHandler resetHandler)
 {
     _settings        = settings;
     _model           = model;
     _moveHandler     = moveHandler;
     _interactHandler = interactHandler;
     _pushHandler     = pushHandler;
     _resetHandler    = resetHandler;
 }