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)); }
public void PlaceActionPawn(Player player, ActionSpace space) { space.Player = player; }
public void AddElementToPlayer(Player player, Chit.ElementType element) { player.Adapt(element); }