internal static string Name(Monument.MonumentType enumValue) { switch (enumValue) { case Monument.MonumentType.mighty_statue: return("Mighty Statue"); case Monument.MonumentType.mystic_garden: return("Mystic Garden"); case Monument.MonumentType.tomb_of_god: return("Tomb of Gods"); case Monument.MonumentType.everlasting_lighthouse: return("Everlasting Lighthouse"); case Monument.MonumentType.godly_statue: return("Godly Statue"); case Monument.MonumentType.pyramids_of_power: return("Pyramids of Power"); case Monument.MonumentType.temple_of_god: return("Temple of God"); case Monument.MonumentType.black_hole: return("Black Hole"); default: return(string.Empty); } }
private void Init(Monument.MonumentType type) { this.TypeEnum = type; this.EnumValue = (int)type; this.PhysicalPowerBase = new CDouble(); this.MysticPowerBase = new CDouble(); this.BattlePowerBase = new CDouble(); this.CreatingPowerBase = new CDouble(); this.Upgrade = new MonumentUpgrade(type); switch (this.TypeEnum) { case Monument.MonumentType.mighty_statue: this.PhysicalPowerBase = 1; break; case Monument.MonumentType.mystic_garden: this.MysticPowerBase = 6; break; case Monument.MonumentType.tomb_of_god: this.BattlePowerBase = 30; break; case Monument.MonumentType.everlasting_lighthouse: this.CreatingPowerBase = 150; break; case Monument.MonumentType.godly_statue: this.PhysicalPowerBase = 200; this.MysticPowerBase = 200; this.BattlePowerBase = 200; this.CreatingPowerBase = 200; break; case Monument.MonumentType.pyramids_of_power: this.PhysicalPowerBase = 600; this.MysticPowerBase = 600; this.BattlePowerBase = 600; this.CreatingPowerBase = 600; break; case Monument.MonumentType.temple_of_god: this.PhysicalPowerBase = 1500; this.MysticPowerBase = 1500; this.BattlePowerBase = 1500; this.CreatingPowerBase = 1500; break; case Monument.MonumentType.black_hole: this.PhysicalPowerBase = 100000000; this.MysticPowerBase = 100000000; this.BattlePowerBase = 100000000; this.CreatingPowerBase = 100000000; break; } }
private void Init(Monument.MonumentType type) { this.type = type; this.EnumValue = (int)type; }
public MonumentUpgrade(Monument.MonumentType type) { this.Init(type); }
public Monument(Monument.MonumentType type) { this.Init(type); }