public Optimizer(MapGuide map, Point p0) { _map = map; _p0 = p0; _cache.Add(p0, 0); _lastCompletedLevel = 0; }
public Combat(MapGuide map, int elfHitPower = GoblinHitPower) { _elfHitPower = elfHitPower; _map = map; _men = map.FindAllMen() .Select(t => new Man { HitPoints = 200, Position = t.Item2, Race = t.Item1, Id = $"{t.Item1}_({t.Item2.X},{t.Item2.Y})" }) .ToList(); }
private void Awake() { instance = this; }