package Services.Sounds.WeaponSoundObjects { import flash.media.Sound; import Services.Sounds.WeaponSoundObjects.WeaponSound; /** * ... * @author */ public class scout implements WeaponSound { [Embed(source = "../Weapons/ClipEmpty_Rifle.mp3")] private static const rifleEmpty:Class; private var rifle_Empty : Sound = new rifleEmpty(); //Sound for the scout [Embed(source = "../Weapons/scout_fire-1.mp3")] private static const scoutShot:Class; [Embed(source = "../Weapons/scout_reload.mp3")] private static const scoutReload:Class; [Embed(source = "../Weapons/scout_bolt.mp3")] private static const scoutDeploy:Class; private var scout_fire : Sound = new scoutShot(); private var scout_reload : Sound = new scoutReload(); private var scout_deploy : Sound = new scoutDeploy(); public function scout() { } /* INTERFACE Services.Sounds.WeaponSoundObjects.WeaponSound */ public function playFire():void { scout_fire.play(); } public function getReload():Sound { return scout_reload; } public function getSwitch():Sound { return scout_deploy; } public function playEmpty():void { rifle_Empty.play(); } } }