예제 #1
0
 def __init__(self, art4, art5, apollo):
     self.list = {}
     for weap in WEAPONS.keys():
         self.list[weap] = Weapon(weap, art4, art5, apollo)
     self.w_weight = 0.0
     # Weight of targeting computer weapons
     self.tcw_weight = 0.0
     # Weight of turreted weapons
     self.tur_weight = 0.0
     # Weight of energy weapons (for power amps)
     self.ene_weight = 0.0
     # Track LRM tubes (IS, Clan, NLRM, MMLs)
     # no ATMs, no streaks and no ELRMs
     # only launchers that can use special ammo
     self.lrms = 0
     self.exp_weapon = ExplosiveWeapons()
     # Set to true if a non-missile, long-range weapon is present
     self.snipe = False
예제 #2
0
 def __init__(self, players):
     self.all_players = PLAYERS.keys()
     self.all_weapons = WEAPONS.values()
     self.players = players