コード例 #1
0
ファイル: Logic.cs プロジェクト: CRamsan/MechTactics
 public Logic(AttributeList attributes)
 {
 }
コード例 #2
0
ファイル: Client.cs プロジェクト: CRamsan/MechTactics
        private static void RecieveInitialInformation()
        {
            if (!ServerConnection.Recieve().Equals(Constants.INITIAL_DATA_TAG))
            {
                System.Console.WriteLine("Wrong data recieved");
            }
            else
            {
                throw new Exception();
            }

            AttributeList attributeList = new AttributeList( ServerConnection.Recieve());
            logicComponent = new Logic(attributeList);
            System.Console.WriteLine("All data recieved");
        }