using System; using System.Diagnostics; namespace SpaceInvaders { public class FallStraight : FallStrategy { //------------------------------------------------------------------- // FIELDS //------------------------------------------------------------------- //private float prevY; //------------------------------------------------------------------- // CLASS METHODS //------------------------------------------------------------------- public FallStraight() { // this.prevY = 0.0f; } //------------------------------------------------------------------- // OVERRIDDEN METHODS //------------------------------------------------------------------- public override void Reset(float y) { //this.prevY = 0.0f; } public override void Fall(Bomb pBomb) { Debug.Assert(pBomb != null); //do nothing } } }