Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using Jypeli; |
---|
4 | using Jypeli.Assets; |
---|
5 | using Jypeli.Controls; |
---|
6 | using Jypeli.Effects; |
---|
7 | using Jypeli.Widgets; |
---|
8 | |
---|
9 | |
---|
10 | class AudioPlayer |
---|
11 | { |
---|
12 | private int updateInterval; |
---|
13 | private G game; |
---|
14 | |
---|
15 | Timer playerUpdater; |
---|
16 | |
---|
17 | List<String> types = new List<String>(); |
---|
18 | List<int> max = new List<int>(); |
---|
19 | |
---|
20 | public AudioPlayer(G game, int uInterval) |
---|
21 | { |
---|
22 | this.game = game; |
---|
23 | this.updateInterval = uInterval; |
---|
24 | |
---|
25 | playerUpdater.Interval = updateInterval; |
---|
26 | playerUpdater.Timeout += delegate() { }; |
---|
27 | } |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.