예제 #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);
 }
예제 #2
0
 public FoxyMove(LevelObjectView view, SpriteAnimator spriteAnimator)
 {
     _view           = view;
     _spriteAnimator = spriteAnimator;
     _contactpoller  = new Contactpoller(_view._collider2D);
 }