Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTemperature.py
More file actions
Latest commit
43 lines (32 loc) · 1.06 KB
/
Copy pathTemperature.py
File metadata and controls
43 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
importthreading
importAnimations
importGame
classTemperature(Game.CubeGame, threading.Thread):
_name='Audio Visualizer'
_version='v0.1'
_menu_frame= [1, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0,
1, 1, 0, 0, 0, 0, 0, 0,
1, 1, 1, 0, 0, 0, 0, 0,
1, 1, 1, 1, 1, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1]
def__init__(self, cube_size, frame_size):
Game.CubeGame.__init__(self, cube_size, frame_size, self._name)
threading.Thread.__init__(self)
defget_menu_frame(self):
returnself._menu_frame
defhas_menu_animation(self):
returnTrue
defstart_game(self):
pass
defplay_animation(self):
an=Animations.TickerAnimation("temperature")
an.start()
an.join()
defdone(self):
pass
defrun(self):
# sa.WaveObject.from_wave_file(self.file_name).play()
whilenotself.finished: