main.py 520 B

1234567891011121314151617181920212223
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from DynLoader import DynLoaderMod as dyn
  4. from VoicePlay import Voice as speach
  5. from Stats import Stats
  6. if __name__ == "__main__":
  7. print("Start application")
  8. print("Init Mods")
  9. mod = dyn("mods/", "on")
  10. print("Init Stats")
  11. stats:Stats = Stats.getInstance()
  12. print("Init Speech")
  13. speach.getInstance().Say(".")
  14. mod.execute("PlaySound", "welcome.wav", False)
  15. mod.execute("PlaySound", "welcome.mp3", False)
  16. print("Sound playing...")