Beispiel #1
0
        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();
        }
Beispiel #2
0
 public CommunityDisplay(CommunityLogic logic)
 {
     this.Logic = logic;
 }