public bool Walk(Direction dir) { if (!CanWalk(dir)) return false; position = position[dir].OtherSide; position.Seen = true; if (OnChange != null) OnChange(this); return true; }
public MazeWalker(MazeCell startCell) { position = startCell; position.Seen = true; }