14 lines
351 B
Python
14 lines
351 B
Python
from menu import Menu
|
|
from cinput import ControlInput
|
|
from graphics import Graphics
|
|
|
|
class MusicPlayer:
|
|
def __init__(self, cinput: ControlInput, graphics: Graphics, menu: Menu):
|
|
self._cinput = cinput
|
|
self._graphics = graphics
|
|
self._menu = menu
|
|
|
|
def run(self):
|
|
while True:
|
|
self._menu.get_selection()
|