public void AssembleTechCategoryRequest(string pTechItem) { switch (pTechItem) { case TECH_PRECISION_TARGETER: PrecisionTargeter.Send(); break; case TECH_BACKUP_SHIELDS: BackupShields.Send(); break; case TECH_BATTLE_REPAIR_BOT: BattleRepairBot.Send(); break; case TECH_ENERGY_LEECH: EnergyLeech.Send(); break; case TECH_CHAIN_IMPULSE: ChainImpulse.Send(); break; } }
public void AssembleTechCategoryRequest(string itemId) { switch (itemId) { case "1": EnergyLeech.Send(); break; case "2": ChainImpulse.Send(); break; case "3": PrecisionTargeter.Send(); break; case "4": BackupShields.Send(); break; case "5": BattleRepairBot.Send(); break; } SendTechStatus(); }
public void InitiateTechs() { PrecisionTargeter = new PrecisionTargeter(Player); BackupShields = new BackupShields(Player); BattleRepairBot = new BattleRepairBot(Player); EnergyLeech = new EnergyLeech(Player); ChainImpulse = new ChainImpulse(Player); }
public void Tick() { PrecisionTargeter.Tick(); BattleRepairBot.Tick(); EnergyLeech.Tick(); }