예제 #1
0
 public CourseCorrection(GameObject gameObject, float radiusOffset)
 {
     this.gameObject    = gameObject;
     this.origin        = gameObject.GetComponent <Rigidbody>().transform.position;
     this.radiusOffset  = radiusOffset;
     this.avoidanceType = AvoidanceType.Unknown;
     this.vehicleType   = Vehicle.Type.None;
     this.obstacleType  = Obstacle.Type.None;
     this.weaponType    = Weapon.Type.None;
 }
예제 #2
0
 public Vehicle(Vehicle.Type type, Vehicle.Status status, int hp)
 {
     this.hitPoints = hp;
     this.type      = type;
     this.status    = status;
 }