Ejemplo n.º 1
0
        public void TestSimpleDominanceScore()
        {
            Map m = new Map();
            Player p = new Player(Animal.Insect);

            // Create a known dominance
            var tile = m.tiles[3,3];
            tile.Terrain = Tile.TerrainType.Mountain;
            var chits = m.ChitsFor(tile);
            chits[0].Element = Chit.ElementType.Grass;
            tile.Species[(int) Animal.Insect] = 1;

            // Dominance should be 2
            Assert.AreEqual(2, p.DominationScoreOn(m, tile));
        }
Ejemplo n.º 2
0
 public void PlaceActionPawn(Player player, ActionSpace space)
 {
     space.Player = player;
 }
Ejemplo n.º 3
0
 public void AddElementToPlayer(Player player, Chit.ElementType element)
 {
     player.Adapt(element);
 }