phatboyg/Magnum — pull request #12 by WalkingDisaster (2012-04-20 18:54:38+00:00)
Title: Added support for arbitrary depth of generalization in subclassed state machines

The reflection code iterating properties in StateMachine.cs would only look at the subclass level in the case where the base class took the subclasse's type as a generic parameter. I added BindingFlags.FlattenHeirarchy to the two loops to fix this.