Implement DAS/ARR for smooth horizontal piece movement
This commit is contained in:
@@ -48,6 +48,11 @@ class UIManager {
|
||||
showScreen(screenName) {
|
||||
Object.values(this.screens).forEach(screen => screen.classList.remove('active'));
|
||||
this.screens[screenName].classList.add('active');
|
||||
|
||||
// Play audio based on screen (but not for game/lobby - those are handled by app.js)
|
||||
if (typeof audio !== 'undefined' && screenName === 'room') {
|
||||
audio.stop();
|
||||
}
|
||||
}
|
||||
|
||||
handleJoin() {
|
||||
|
||||
Reference in New Issue
Block a user