Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AWeapon" /> class.
 /// </summary>
 /// <param name="stat">The stat.</param>
 /// <param name="name">The optional unique name for this equipment. If not provided, the name embedded in the stat will be used.</param>
 public AWeapon(AWeaponStat stat, string name = null)
     : base(stat, name) {
     _gameTime = GameTime.Instance;
     _qualifiedEnemyTargets = new HashSet<IElementAttackable>();
     _combatResults = new Dictionary<IElementAttackable, CombatResult>();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ALOSWeapon"/> class.
 /// </summary>
 /// <param name="stat">The stat.</param>
 /// <param name="name">The optional unique name for this equipment. If not provided, the name embedded in the stat will be used.</param>
 public ALOSWeapon(AWeaponStat stat, string name = null) : base(stat, name) { }
Exemple #3
0
 public WeaponDesign(AWeaponStat stat, MountSlotID mountSlotID) {
     WeaponStat = stat;
     MountSlotID = mountSlotID;
 }