public Pathfinding(int id, Sprite sprite, ManagerTiles managerTiles, ManagerUnits managerUnits)
 {
     _id = id;
     _sprite = sprite;
     _managerTiles = managerTiles;
     _path = new List<Vector2>();
     _managerUnits = managerUnits;
 }
Пример #2
0
 public Movement(int id, Sprite sprite, ManagerTiles managerTiles, ManagerUnits managerUnit)
 {
     _sprite = sprite;
     _speed = 4;
     _pathfinding = new Pathfinding(id, sprite, managerTiles, managerUnit);
 }