public MovementData(Constants.MovementTypes type, MyVector3[] points, List <float> distances, float speed, float radius, bool isClockwise, float initAngle) { this.type = type; this.points = points; this.distances = distances; this.radius = radius; this.speed = speed; this.isClockwise = isClockwise; this.initAngle = initAngle; }
public void SetMovementData(MovementData movement) { type = movement.type; points = new List <Vector3>(); for (int i = 0; i < movement.points.Length; i++) { points.Add(movement.points[i].GetV3()); } distances = movement.distances; type = movement.type; radius = movement.radius; speed = movement.speed; isClockwise = movement.isClockwise; initAngle = movement.initAngle * Mathf.Deg2Rad; isProduction = true; }
public BombMovementData(Constants.MovementTypes type, MyVector3[] points, List <float> distances, float speed, float radius, bool isClockwise, float initAngle) : base(type, points, distances, speed, radius, isClockwise, initAngle) { }