public SpawnWeaponAsDropFromAgent( Agent agent, EquipmentIndex equipmentIndex, Vec3 velocity, Vec3 angularVelocity, Mission.WeaponSpawnFlags weaponSpawnFlags, int forcedIndex) { this.Agent = agent; this.EquipmentIndex = equipmentIndex; this.Velocity = velocity; this.AngularVelocity = angularVelocity; this.WeaponSpawnFlags = weaponSpawnFlags; this.ForcedIndex = forcedIndex; }
public SpawnWeaponWithNewEntity( MissionWeapon weapon, Mission.WeaponSpawnFlags weaponSpawnFlags, int forcedIndex, MatrixFrame frame, MissionObject parentMissionObject, bool isVisible, bool hasLifeTime) { this.Weapon = weapon; this.WeaponSpawnFlags = weaponSpawnFlags; this.ForcedIndex = forcedIndex; this.Frame = frame; this.ParentMissionObject = parentMissionObject; this.IsVisible = isVisible; this.HasLifeTime = hasLifeTime; }