diff --git a/Sharpasonne.Models/Features/City.cs b/Sharpasonne.Models/Features/City.cs index e91e36e..bbec6c6 100644 --- a/Sharpasonne.Models/Features/City.cs +++ b/Sharpasonne.Models/Features/City.cs @@ -2,10 +2,16 @@ namespace Sharpasonne.Models.Features { - class City : IFeature + public class City : IFeature { public IImmutableSet Connections { get; } + public bool HasShield { get; } + + public City(IImmutableSet connections, bool hasShield) + { + Connections = connections; + HasShield = hasShield; + } } } - diff --git a/Sharpasonne.Models/Features/Field.cs b/Sharpasonne.Models/Features/Field.cs index 3a20d8d..effa7fb 100644 --- a/Sharpasonne.Models/Features/Field.cs +++ b/Sharpasonne.Models/Features/Field.cs @@ -4,12 +4,12 @@ namespace Sharpasonne.Models.Features { public class Field : IFeature { + public IImmutableSet Connections { get; } + public Field(IImmutableSet connections) { Connections = connections; } - - public IImmutableSet Connections { get; } } } diff --git a/Sharpasonne.Models/Features/Monastery.cs b/Sharpasonne.Models/Features/Monastery.cs index c826a48..5b21b6d 100644 --- a/Sharpasonne.Models/Features/Monastery.cs +++ b/Sharpasonne.Models/Features/Monastery.cs @@ -2,9 +2,13 @@ namespace Sharpasonne.Models.Features { - class Monastery : IFeature + public class Monastery : IFeature { public IImmutableSet Connections { get; } + + public Monastery(IImmutableSet connections) + { + Connections = connections; + } } } - diff --git a/Sharpasonne.Models/Features/Road.cs b/Sharpasonne.Models/Features/Road.cs index 7f2998e..153b658 100644 --- a/Sharpasonne.Models/Features/Road.cs +++ b/Sharpasonne.Models/Features/Road.cs @@ -2,9 +2,13 @@ namespace Sharpasonne.Models.Features { - internal class Road : IFeature + public class Road : IFeature { public IImmutableSet Connections { get; } + + public Road(IImmutableSet connections) + { + Connections = connections; + } } } -