private IEnumerable<MapOperation> PopulateUnitOperations() { var resManager = IoC.Get<IResourceManager>(); var infantryOperation = new MapOperation { Name = "Editor/Infantry" }; //PopulateInfantryOperation(infantryOperation); var i = new Api.Rules.Infantry(); return new[] { infantryOperation }; }
public MapOperationSelectorViewModel() { _terrainMapOperation = new MapOperation { Name = "Editor/Terrain" }; UnitOperations = new ObservableCollection<MapOperation>(PopulateUnitOperations()); }