Commits

Chris Logsdon committed f296e3f

Added missing changes to Music.as;

Comments (0)

Files changed (1)

 	 */
 	public class Music extends Audio
 	{
+		public static const BEACH_VOL:Number = 0.5;
+		public static const FOREST_VOL:Number = 0.5;
+		public static const TOWER_VOL:Number = 0.5;
+		public static const DUNGEON_VOL:Number = 0.45;
+		public static const HELLTHER_VOL:Number = 1;
+		public static const BOSS_VOL:Number = 0.5;
+		public static const FINALE_VOL:Number = 1;
+		
 		public var sound:Sound;
 		public var channel:SoundChannel;
 		public var transform:SoundTransform;
 		private var position:Number;
 		private var count:uint;
 		
-		public function Music(name:String, sound:Sound) 
+		public function Music(name:String, sound:Sound, vol:Number) 
 		{
 			this.name = name;
 			this.sound = sound;
 			this.position = -1;
 			this.count = 0;
-			this.transform = new SoundTransform;
+			this.transform = new SoundTransform(vol);
 		}		
 	}