public void Animate() { if (!_Animated && State != null && State.Animating) { _Animated = true; OnAnimate(); if (Gump != null) { Gump.OnAnimate(this); } State.Animated(); } }
protected void Animate() { if (!_Animated) { _Animated = true; if (State != null && State.Animating) { OnAnimate(); if (Gump != null) { Gump.OnAnimate(this); } State.Animated(); } } }