public GameContext(IMemoryAPI api) { API = api; Player = new Player(api); Config = new ProxyConfig(); Memory = new StateMemory(api); Target = new NullUnit(); }
public GameContext(IMemoryAPI api) { API = api; Player = new Player(api); Config = new ProxyConfig(); Memory = new StateMemory(api); Target = new NullUnit(); NavMesh = new NavMesh(); Zone = api.Player.Zone; NavMesh.LoadZone(_zone); }
public TestContext() { Units = new List <IUnit> { new MockUnit() }; Config = new MockConfig(); Player = new MockPlayer(); Target = new NullUnit(); MockAPI = new MockEliteAPI(); API = new MockEliteAPIAdapter(MockAPI); Memory = new StateMemory(API); }
public abstract T Visit(NullUnit v);
public BoolUnit(NullUnit value) { this.value = value; }