static void Main(string[] args) { bool initializeFlag = false; DataInitialization initialize = new DataInitialization(); var logic = new CommunityLogic(); if (initializeFlag) { logic.serializer.RestartData(); initialize.Run(); logic.serializer.Serialize(); Console.WriteLine("Data Initialized"); } logic.serializer.Deserialize(); var display = new CommunityDisplay(logic); display.WelcomeScreen(); }
public CommunityDisplay(CommunityLogic logic) { this.Logic = logic; }