public static MenuActionService Initialize(MenuActionService actionService) { actionService.AddNewAction(new MenuAction(1, "New Game", "Start")); actionService.AddNewAction(new MenuAction(2, "Load Game", "Start")); actionService.AddNewAction(new MenuAction(3, "Remove Data", "Start")); actionService.AddNewAction(new MenuAction(4, "Exit", "Start")); actionService.AddNewAction(new MenuAction(1, "Warrior", "Select Class")); actionService.AddNewAction(new MenuAction(2, "Mage", "Select Class")); actionService.AddNewAction(new MenuAction(3, "Thief", "Select Class")); actionService.AddNewAction(new MenuAction(4, "Berserker", "Select Class")); actionService.AddNewAction(new MenuAction(1, "Go to dungeon", "Game Menu")); actionService.AddNewAction(new MenuAction(2, "Go to shop", "Game Menu")); actionService.AddNewAction(new MenuAction(3, "Check hero info", "Game Menu")); actionService.AddNewAction(new MenuAction(4, "Save", "Game Menu")); actionService.AddNewAction(new MenuAction(5, "Exit", "Game Menu")); actionService.AddNewAction(new MenuAction(1, "Next fight", "Dungeon")); actionService.AddNewAction(new MenuAction(2, "Heal", "Dungeon")); actionService.AddNewAction(new MenuAction(3, "Exit Dungeon", "Dungeon")); actionService.AddNewAction(new MenuAction(1, "Attack", "Fight")); actionService.AddNewAction(new MenuAction(2, "Use item", "Fight")); actionService.AddNewAction(new MenuAction(3, "Try to escape", "Fight")); return(actionService); }
private void Initialize() { actionService.AddNewAction(1, "Budżet domowy.", "Main"); actionService.AddNewAction(2, "Spis wydatków.", "Main"); actionService.AddNewAction(3, "Stan funduszy.", "Main"); actionService.AddNewAction(4, "Wyjście", "Main"); actionService.AddNewAction(1, "Tworzenie budżetu domowego.", "HomeBudgetMenu"); actionService.AddNewAction(2, "Wyświetlenie konkretnego budżetu.", "HomeBudgetMenu"); actionService.AddNewAction(3, "Wyświetlenie wszystkich budżetów.", "HomeBudgetMenu"); actionService.AddNewAction(4, "Usunięcie konkretnego budżetu.", "HomeBudgetMenu"); actionService.AddNewAction(5, "Instrukcja tworzenia budżetu.", "HomeBudgetMenu"); actionService.AddNewAction(6, "Powrót.", "HomeBudgetMenu"); actionService.AddNewAction(1, "Edytuj stan funduszu wydatków nieregularnych (FWN).", "FundsMenu");//fixed variable irregular actionService.AddNewAction(2, "Edytuj stan funduszu awaryjny (FA).", "FundsMenu"); actionService.AddNewAction(3, "Edytuj stan funduszu bezpieczeństwa (FB).", "FundsMenu"); actionService.AddNewAction(4, "Edytuj stan funduszu celowy.", "FundsMenu"); actionService.AddNewAction(5, "Wyświetl stan funduszy.", "FundsMenu"); actionService.AddNewAction(6, "Instrukcja.", "FundsMenu"); actionService.AddNewAction(7, "Wyjście", "FundsMenu"); actionService.AddNewAction(1, "Tworzenie nowego wydatku.", "ExpenseMenu"); actionService.AddNewAction(2, "Wyświetlenie konkretnego wydatku.", "ExpenseMenu"); actionService.AddNewAction(3, "Wyświetlenie wszystkich wydatków.", "ExpenseMenu"); actionService.AddNewAction(4, "Usunięcie konkretnego wydatku.", "ExpenseMenu"); actionService.AddNewAction(5, "Powrót.", "ExpenseMenu"); }