public static void IwasTheMain() { RandomWalker walker = new RandomWalker(); RandWalkObserver observer = new RandWalkObserver(); walker.AddObserver(observer); for (int i = 0; i < 100000; i++) { walker.MakeStep(); } Console.ReadKey(); }
public RWEvent(Directions direction, RandomWalker walker) : this() { Direction = direction; Walker = walker; }