Increased performance

Changed direction strings to a Direction class implementing shorts for
direction flags, replaced .GetType() calls with a TypeCode.Equals()
comparison to TypeCode byte properties of Sprite. Performance increased
from < 9fps to > 300fps.