summaryrefslogtreecommitdiff
path: root/Source/modules/asura-framework/scripts/audio/source.lua
blob: 7dec5114b0714b450736123177d55a203a95ebeb (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.Extend("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