コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: Movement.cs プロジェクト: Masterxv/bomb
 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;
 }
コード例 #3
0
 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)
 {
 }