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