Exemple #1
0
        public TeamTemplate(uint id, string name, Player owner, bool isSingleton)
        {
            ID          = id;
            Name        = name;
            Owner       = owner;
            IsSingleton = isSingleton;

            // TODO: Read this from map data.
            _templateData = new TeamTemplateData();
        }
Exemple #2
0
        public TeamTemplate(TeamFactory teamFactory, uint id, string name, Player owner, bool isSingleton)
        {
            TeamFactory = teamFactory;
            ID          = id;
            Name        = name;
            Owner       = owner;
            IsSingleton = isSingleton;

            // TODO: Read this from map data.
            _templateData = new TeamTemplateData();

            _teams = new List <Team>();
        }