예제 #1
0
 public MoveHeroTo(HeroState hero, int distance, MapCellState cell, MapState map, bool pushed = false)
 {
     _hero     = hero;
     _distance = distance;
     _cell     = cell;
     _map      = map;
     _pushed   = pushed;
 }
예제 #2
0
 public BreakWall(HeroState hero, MapCellState cell)
 {
     _hero = hero;
     _cell = cell;
 }