First pass at implementing a speech history option for games.
This commit is contained in:
11
__init__.py
11
__init__.py
@@ -15,7 +15,8 @@ This module provides core functionality for Storm Games including:
|
||||
from .services import (
|
||||
ConfigService,
|
||||
VolumeService,
|
||||
PathService
|
||||
PathService,
|
||||
SpeechHistoryService
|
||||
)
|
||||
|
||||
# Import Sound class and functions
|
||||
@@ -39,7 +40,7 @@ from .sound import (
|
||||
)
|
||||
|
||||
# Import Speech class and functions
|
||||
from .speech import messagebox, speak, Speech
|
||||
from .speech import messagebox, speak, Speech, speak_previous, speak_current, speak_next
|
||||
|
||||
# Import Scoreboard
|
||||
from .scoreboard import Scoreboard
|
||||
@@ -78,7 +79,7 @@ __version__ = '2.0.0'
|
||||
# Make all symbols available at the package level
|
||||
__all__ = [
|
||||
# Services
|
||||
'ConfigService', 'VolumeService', 'PathService',
|
||||
'ConfigService', 'VolumeService', 'PathService', 'SpeechHistoryService',
|
||||
|
||||
# Sound
|
||||
'Sound',
|
||||
@@ -102,6 +103,9 @@ __all__ = [
|
||||
'messagebox',
|
||||
'speak',
|
||||
'Speech',
|
||||
'speak_previous',
|
||||
'speak_current',
|
||||
'speak_next',
|
||||
|
||||
# Scoreboard
|
||||
'Scoreboard',
|
||||
@@ -133,6 +137,7 @@ __all__ = [
|
||||
configService = ConfigService.get_instance()
|
||||
volumeService = VolumeService.get_instance()
|
||||
pathService = PathService.get_instance()
|
||||
speechHistoryService = SpeechHistoryService.get_instance()
|
||||
|
||||
# Set up backward compatibility hooks for initialize_gui
|
||||
_originalInitializeGui = initialize_gui
|
||||
|
Reference in New Issue
Block a user