public void UpdatePosition(int increment) { IMotion motion = SelectMotion(increment); motion.BeforeUpdate(increment); this.currentPosition += increment; motion.AfterUpdate(increment); }