summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/scripts/audio/source.lua
blob: 826984259266e6e3eca7e97959597a77499aa49c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- Audio Source 
AsuraEngine.Source = AsuraEngine.Component.Sub("SoundPlayer")

local Source = AsuraEngine.Source 

function Source.Ctor(self)
	self.mSound = nil 
end

function Source.SetSound(sound)
	self.mSound = sound
end

function Source.GetSource()
	return self.mSound
end

function Source.OnUpdate(dt)

end

return Source