Beispiel #1
0
 public void RenderPosition(NeighborhoodMember uniqueState)
 {
     Console.ForegroundColor = ConsoleColor.Green;
     Console.WriteLine($"Adding new member to ({uniqueState.PositionX}, {uniqueState.PositionY})");
     Console.WriteLine($"Shared State ({_sharedState.TransportationMethod}, {_sharedState.Subdivision})");
     Console.ResetColor();
 }
Beispiel #2
0
 public NeighborhoodMemberSharedState(NeighborhoodMember person)
 {
     _sharedState = person;
 }