public MoveToTrajectoryStart(BallFacade ball, ITrajectoryDataSource trajectorySource) { m_Ball = ball; m_TrajectorySource = trajectorySource; m_WayPoints = m_TrajectorySource.GetWayPoints(m_Ball.BallIndex); IsComplited = false; }
public MoveDrawTrajectoryAction(BallFacade ball, ITrajectoryDataSource trajectorySource, BallSettings ballSettings) { m_Ball = ball; m_TrajectorySource = trajectorySource; m_WayPoints = m_TrajectorySource.GetWayPoints(m_Ball.BallIndex); MovingPrecision = ballSettings.MovingPrecision; }