Ejemplo n.º 1
0
 public void SetCrew(ICrew crew)
 {
     _crew = crew;
 }
Ejemplo n.º 2
0
 protected abstract bool IsIncluded(ICrew crew);
 protected override bool IsIncluded(ICrew crew)
 {
     // todo - the IsSculling is a VH hack to mitigate for octoples not being valid
     return !crew.IsTimeOnly && crew.Gender == _gender && crew.IsForeign && !crew.EventCategory.IsSculling;
 }
Ejemplo n.º 4
0
 // Example method
 public void KillWithImposter(ICrew crew)
 {
     _imposter.Kill(crew);
 }
Ejemplo n.º 5
0
 protected override bool IsIncluded(ICrew crew)
 {
     return(!crew.IsTimeOnly && crew.IsMasters && crew.IsNovice == _isNovice && crew.Gender == _gender && crew.EventCategory.IsSculling == _isSculling);
 }
 protected override bool IsIncluded(ICrew crew)
 {
     return !crew.IsTimeOnly && crew.IsMasters && crew.IsNovice == _isNovice && crew.Gender == _gender && crew.EventCategory.IsSculling == _isSculling;
 }
Ejemplo n.º 7
0
 protected abstract bool IsIncluded(ICrew crew);
 protected override bool IsIncluded(ICrew crew)
 {
     return !crew.IsTimeOnly;
 }
Ejemplo n.º 9
0
 protected override bool IsIncluded(ICrew crew)
 {
     return(!crew.IsTimeOnly && crew.Gender == _gender);
 }
Ejemplo n.º 10
0
 public void AddBoatingCrew(ICrew crew)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 11
0
 public void AddBoatingCrew(ICrew crew)
 {
     _boatingCrews.Add(crew);
 }
Ejemplo n.º 12
0
 public void SetCrew(ICrew crew)
 {
     _crew = crew;
 }
Ejemplo n.º 13
0
 protected override bool IsIncluded(ICrew crew)
 {
     return !crew.IsTimeOnly && crew.Gender == _gender;
 }