public void CreateRailroads()
 {
     readingRailroadSpace = (RailroadSpace)game.Board.SpaceAt(BoardSpace.SpaceKeys.ReadingRR);
     pennsylvaniaRailroadSpace = (RailroadSpace)game.Board.SpaceAt(BoardSpace.SpaceKeys.PennsylvaniaRR);
     boRailroadSpace = (RailroadSpace)game.Board.SpaceAt(BoardSpace.SpaceKeys.BORR);
     shortlineRailroadSpace = (RailroadSpace)game.Board.SpaceAt(BoardSpace.SpaceKeys.ShortLine);
 }
        public int DetermineRailroadRent(RailroadSpace space)
        {
            IEnumerable<RailroadSpace> railroads = PropertyGroup.GetAllPropertiesInGroup(Board, PropertyGroup.Groups.Railroads).Cast<RailroadSpace>();

            int ownedRailroads = railroads.Count(railroad => space.Owner == railroad.Owner);
            int currentRent = space.Rent;

            for (int i = 1; i < ownedRailroads; i++)
            {
                currentRent *= 2;
            }

            return currentRent;
        }