コード例 #1
0
 public PlayerController(
     Settings settings,
     Grounding grounding,
     PlayerView playerView,
     Collidable defaultCollidable,
     CollisionSphere.Factory collisionSphereFactory)
 {
     this.settings               = settings;
     this.grounding              = grounding;
     this.playerView             = playerView;
     this.defaultCollidable      = defaultCollidable;
     this.collisionSphereFactory = collisionSphereFactory;
 }
コード例 #2
0
 public PlayerFacade(
     CharacterType characterType,
     Grounding grounding,
     Input input,
     Player player,
     PlayerView playerView,
     PlayerController playerController,
     PlayerStateMachine playerStateMachine)
 {
     this.characterType      = characterType;
     this.grounding          = grounding;
     this.input              = input;
     this.player             = player;
     this.playerView         = playerView;
     this.playerController   = playerController;
     this.playerStateMachine = playerStateMachine;
 }
コード例 #3
0
 public PlayerStateMachine(
     Settings settings,
     Input input,
     CameraManager cameraManager,
     Grounding grounding,
     PlayerView playerView,
     PlayerController playerController,
     PlayerStateFactory stateFactory)
     : base(stateFactory)
 {
     this.settings         = settings;
     this.input            = input;
     this.cameraManager    = cameraManager;
     this.grounding        = grounding;
     this.playerView       = playerView;
     this.playerController = playerController;
     this.playerController.playerStateMachine = this;
 }
コード例 #4
0
ファイル: Player.cs プロジェクト: thexdesk/mist-ridge
 public Player(
     Settings settings,
     Input input,
     Grounding grounding,
     AetherManager aetherManager,
     PlayerView playerView,
     PlayerStateMachine playerStateMachine,
     PlayerController playerController,
     PlayerPhysics playerPhysics,
     ItemEffectSignal itemEffectSignal)
 {
     this.settings           = settings;
     this.input              = input;
     this.grounding          = grounding;
     this.aetherManager      = aetherManager;
     this.playerView         = playerView;
     this.playerStateMachine = playerStateMachine;
     this.playerController   = playerController;
     this.playerPhysics      = playerPhysics;
     this.itemEffectSignal   = itemEffectSignal;
 }