Exemple #1
0
 public PlayerMoveControllerPhysics(CharacterView view, SpriteAnimator spriteAnimator, GameSettings settings)
 {
     _characterView      = view;
     _spriteAnimator     = spriteAnimator;
     _contactsPoller     = new ContactsPoller(_characterView.GetComponent <Collider2D>());
     _settings           = settings;
     _characterRigidbody = _characterView.GetComponent <Rigidbody2D>();
 }