public FrogMove(LevelObjectView view, List <LevelObjectView> wallsViews, SpriteAnimator spriteAnimator) { _wallsViews = wallsViews; _view = view; _spriteAnimator = spriteAnimator; _view.OnLevelObjectContact += OnLevelObjectContact; _contactpoller = new Contactpoller(_view._collider2D); }
public FoxyMove(LevelObjectView view, SpriteAnimator spriteAnimator) { _view = view; _spriteAnimator = spriteAnimator; _contactpoller = new Contactpoller(_view._collider2D); }