public bool CanTakeShot(ShotDomainModel shot)
 {
     return
         (Init &&
          !Ended &&
          DoesContainsPoint(shot.Point));
 }
Exemple #2
0
 public ShipDomainModel With(ShotDomainModel shot)
 {
     return(new ShipDomainModel(Id, Start, End, Shots.Append(shot)));
 }