Esempio n. 1
0
        public void UpdatePosition(int increment)
        {
            IMotion motion = SelectMotion(increment);

            motion.BeforeUpdate(increment);
            this.currentPosition += increment;
            motion.AfterUpdate(increment);
        }