acesesibiliti
This commit is contained in:
@@ -472,6 +472,26 @@ class GameScene extends Phaser.Scene {
|
||||
console.log('👁️ Initializing Visual Sound Cue System...');
|
||||
this.visualSoundCueSystem = new VisualSoundCueSystem(this);
|
||||
|
||||
// Initialize Input Remapping System (for custom controls)
|
||||
console.log('🎮 Initializing Input Remapping System...');
|
||||
this.inputRemapping = new InputRemappingSystem(this);
|
||||
|
||||
// Initialize Screen Reader System (for blind/visually impaired players)
|
||||
console.log('🔊 Initializing Screen Reader System...');
|
||||
this.screenReader = new ScreenReaderSystem(this);
|
||||
|
||||
// Initialize Dyslexia Support System
|
||||
console.log('📖 Initializing Dyslexia Support System...');
|
||||
this.dyslexiaSupport = new DyslexiaSupportSystem(this);
|
||||
|
||||
// Initialize ADHD/Autism Support System
|
||||
console.log('🧠 Initializing ADHD/Autism Support System...');
|
||||
this.adhdAutismSupport = new ADHDAutismSupportSystem(this);
|
||||
|
||||
// Initialize Motor Accessibility System
|
||||
console.log('🦾 Initializing Motor Accessibility System...');
|
||||
this.motorAccessibility = new MotorAccessibilitySystem(this);
|
||||
|
||||
// Show epilepsy warning on first launch
|
||||
const hasSeenWarning = localStorage.getItem('novafarma_epilepsy_warning');
|
||||
if (!hasSeenWarning) {
|
||||
@@ -841,6 +861,12 @@ class GameScene extends Phaser.Scene {
|
||||
// Visual Sound Cue System Update
|
||||
if (this.visualSoundCueSystem) this.visualSoundCueSystem.update();
|
||||
|
||||
// Screen Reader System Update
|
||||
if (this.screenReader) this.screenReader.update();
|
||||
|
||||
// Motor Accessibility System Update
|
||||
if (this.motorAccessibility) this.motorAccessibility.update();
|
||||
|
||||
// Update NPCs
|
||||
for (const npc of this.npcs) {
|
||||
if (npc.update) npc.update(delta);
|
||||
|
||||
Reference in New Issue
Block a user