public static void PassTime(IListenForTimePassing listener, int ticks) { for (var i = 0; i < ticks; i++) { listener.Tick(); } }
public static void PassTime(IListenForTimePassing listener, int floorA, int floorB) { PassTime(listener, Math.Abs(floorA - floorB)); }