예제 #1
0
        public Player(int id, string name, string nation, PlayerType type)
        {
            this.id     = id;
            this.name   = name;
            coat        = L.b.coats.Auto(id);
            this.nation = nation;

            features = new Dictionary <string, string>();
            Modi     = new Dictionary <string, string>();

            research        = new PlayerResearchMgmt();
            research.player = this;

            overlay = new MapOverlay();

            quests        = new QuestMgmt();
            quests.player = this;

            elements        = new PlayerDevelopmentNation();
            elements.player = this;

            fog = new PlayerFog();
            fog.Init();
            info = new PlayerInfoMgmt();

            this.type = type.ToString();

            data = new Dictionary <string, string>();

            spells = new PlayerSpells();
        }
예제 #2
0
 public PlayerDevelopmentSplitElement(Element element, PlayerDevelopmentNation pdn) : base(element.Name(), element.Icon)
 {
     _element = element;
     _pdn     = pdn;
 }