Example #1
0
 public CUBEInfo(CUBEInfo other)
 {
     // General Stats
     name = other.name;
     ID = other.ID;
     type = other.type;
     // System Stats
     subsystem = other.subsystem;
     brand = other.brand;
     grade = other.grade;
     // Combat Stats
     health = other.health;
     shield = other.shield;
     speed = other.speed;
     damage = other.damage;
     // Part Stats
     size = other.size;
     cost = other.cost;
     rarity = other.rarity;
     price = other.price;
 }
Example #2
0
 public CUBEInfo(string name, int id, CUBE.Types type, CUBE.Subsystems subsystem, CUBE.Brands brand, int grade, float health, float shield, float speed, float damage, Vector3 size, int cost, int rarity, int price)
 {
     // General Stats
     this.name = name;
     ID = id;
     this.type = type;
     // System Stats
     this.subsystem = subsystem;
     this.brand = brand;
     this.grade = grade;
     // Combat Stats
     this.health = health;
     this.shield = shield;
     this.speed = speed;
     this.damage = damage;
     // Part Stats
     this.size = size;
     this.cost = cost;
     this.rarity = rarity;
     this.price = price;
 }