summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/audio/source.lua
blob: ccbc946461dac7feaf5de8cb39d12caeff19488f (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