예제 #1
0
 public Blueprint_Battle(int ammo, float reload_time, float rate, float damage, float hp, float attk, float defense, float shield)
 {
     battleStats = new TowerGunStats(ammo, reload_time);
     unitStats = new UnitStats();
     unitStats.InitStartingStats(hp, defense, attk, shield, rate, damage, 0);
     unitStats.Init();
     tileStats = new TileStats(hp, defense, attk, shield, nanoBotCost);
 }
 void InitGunStats(TowerGunStats towerStats)
 {
     gunStats = new TowerGunStats(towerStats.startingAmmo, towerStats.startingReloadTime);
 }