using System; using System.Diagnostics; namespace SpaceInvaders { public abstract class TreeIterator { public abstract Component First(); public abstract Component Next(); public abstract Component Curr(); public abstract bool IsDone(); } }