public PlayerAnimation(SpriteRenderer sprite, PlayerConfig config) { _playerAnimator = new SpriteAnimator(config.KnightAnimeCnf); _animationSpeed = config.AnimationSpeed; _spriteRenderer = sprite; _animationState = AnimState.Idle; _playerAnimator.StartAnimation(_spriteRenderer, _animationState, true, _animationSpeed); }
public PlayerFactory(PlayerConfig config) { _config = config; }
public PlayerMovement(PlayerInitialization player, PlayerConfig config, (IUserInputProxy inputHorizontal, IUserInputProxy inputVertical) input)
public PlayerAttack(Transform player, PlayerConfig config, (IUserPressButtonProxy inputSwordAttack, IUserPressButtonProxy inputFireAttack,
public PlayerStateController(PlayerInitialization player, PlayerConfig config, (IUserInputProxy inputHorizontal, IUserInputProxy inputVertical) moveInput,