コード例 #1
0
ファイル: DDDAdapter.cs プロジェクト: vishalbelsare/DDD
        /*** END ***/

        public DDDAdapter()
        {
            _eventsQueue           = new OrderedEventsList();
            _dddConnection         = new DDDServerConnection();
            _revealedObjects       = new Dictionary <string, SeamateObject>();
            _unrevealedObjects     = new Dictionary <string, SeamateObject>();
            _scheduledAttacks      = new Dictionary <int, List <ScheduledAttack> >();
            _seaLanes              = new Dictionary <string, PolygonValue>();
            _entryPoints           = new Dictionary <string, PolygonValue>();
            _objectOwnershipMaps   = new Dictionary <string, List <string> >();
            _reverseOwnershipMaps  = new Dictionary <string, string>();
            _speciesPossibleStates = new Dictionary <string, Dictionary <string, AttributeCollectionValue> >();
        }
コード例 #2
0
ファイル: DDDAdapter.cs プロジェクト: wshanshan/DDD
        /*** END ***/

        public DDDAdapter()
        {
            _eventsQueue = new OrderedEventsList();
            _dddConnection = new DDDServerConnection();
            _revealedObjects = new Dictionary<string, SeamateObject>();
            _unrevealedObjects = new Dictionary<string, SeamateObject>();
            _scheduledAttacks = new Dictionary<int, List<ScheduledAttack>>();
            _seaLanes = new Dictionary<string, PolygonValue>();
            _entryPoints = new Dictionary<string, PolygonValue>();
            _objectOwnershipMaps = new Dictionary<string, List<string>>();
            _reverseOwnershipMaps = new Dictionary<string, string>();
            _speciesPossibleStates = new Dictionary<string, Dictionary<string, AttributeCollectionValue>>();
        }