Exemple #1
0
 public void OnComplete()
 {
     owner.SetFood(1);
     owner.GetOngoing().Remove(this);
     owner.GetAssets().Add(this);
     Console.WriteLine("Hunter built in " + owner.GetName());
     CardHousing ch = new CardHousing(owner);
     owner.GetProjects().Add(ch);
 }
Exemple #2
0
        public Town()
        {
            resources = new List<Resources>();
            population = 1;
            name = "Godtham";
            material = 0;
            research = 0;
            food = 1;
            nextResearch = 3;
            ongoingProjects = new List<ICard>();
            relations = new List<Relation>();
            discoveries = new List<ICard>();
            assets = new List<ICard>();
            decisions = new List<ICard>();
            projects = new List<ICard>();
            discoveriesDisc = new List<ICard>();
            assetsDisc = new List<ICard>();
            decisionsDisc = new List<ICard>();
            projectsDisc = new List<ICard>();
            CardStartProject c1 = new CardStartProject(this);
            CardProduction c2 = new CardProduction(this);
            CardProduction c3 = new CardProduction(this);
            CardProduction c4 = new CardProduction(this);
            CardResearch c5 = new CardResearch(this);
            CardResearch c6 = new CardResearch(this);
            CardResearch c7 = new CardResearch(this);
            decisions.Add(c1);
            decisions.Add(c2);
            decisions.Add(c3);
            decisions.Add(c4);
            decisions.Add(c5);
            decisions.Add(c6);
            decisions.Add(c7);
            //ScrambleStartDeck();
            CardHousing ch = new CardHousing(this);
            CardForrest cf = new CardForrest(this);
            discoveries.Add(cf);
            
            projects.Add(ch);

        }