Exemplo n.º 1
0
        public virtual bool Move(double dtMS)
        {
            // do incremental move of the piece
            Point2D tempLocation;

            if (MovementAssist.CalculateNewLocation(CurrentLocation, SpeedMS, TravelDirectionRads, dtMS, out tempLocation))
            {
                CurrentLocation = tempLocation;
                return(true);
            }

            return(false);
        }