private void NewGame() { TimeLogic.NewGame(); TerrainLogic.NewGame(); CharacterLogic.NewGame(); PlantLogic.NewGame(); }
public static SelectList ListaDeTimes() { var timeLogic = new TimeLogic(); var times = timeLogic.List(); return(new SelectList(times, "TimeId", "Nome")); }
void Awake() { TimeLogic.SetTime(1, 0, 0); TerrainLogic.Clear(); TerrainLogic.ReadMap(); CharacterLogic.Clear(); CharacterLogic.ReadFamilyTree(); }
/* InvalidateRequerySuggested tvingar kommandohanteraren * att prioritera händelse . */ private void automationTimer_Tick(object sender, EventArgs e) { if (mainCollection != null && mainCollection.Count > 0) { mainCollection = TimeLogic.IntervalHandler(mainCollection); CommandManager.InvalidateRequerySuggested(); UpdateFeedItemList(); } }
private void TransferUserFeedInfo() { string[] feedStore = new string[4]; String newUrl = txtUrl.Text; String feedName = txtFeedName.Text; var catSelect = cbCategory.SelectionBoxItem; String selectedCategory = catSelect.ToString(); string interval = TimeLogic.SetInterval(cbInterval.Text); feedStore[0] = newUrl; feedStore[1] = feedName; feedStore[2] = selectedCategory; feedStore[3] = interval; TransferInterface.UrlToDataHandler(feedStore); TransferInterface.InformationHandler(feedStore); CreateUserFeed(newUrl, feedName); }
public TimesController() { logic = new TimeLogic(); }
public void EndTurn() { ClearSelection(); TimeLogic.NextTurn(); sun.SendMessage("Revolve"); }