Завершить инженерный кандидат Stage 5

This commit is contained in:
2026-08-19 02:04:45 +03:00
parent b840684ef3
commit cde886ca96
45 changed files with 3236 additions and 98 deletions
@@ -0,0 +1,28 @@
package com.projectsacrifice.game;
/** Semantic audio events; Android synthesis is an implementation detail. */
public enum AudioCue {
UI_TAP(Channel.EFFECTS, 1),
FOOTSTEP(Channel.EFFECTS, 3),
JUMP(Channel.EFFECTS, 2),
SWITCH(Channel.EFFECTS, 3),
DOOR(Channel.EFFECTS, 2),
DEATH_IMPACT(Channel.EFFECTS, 5),
DEATH_VOICE(Channel.VOICE, 4),
RESPAWN_VOICE(Channel.VOICE, 3),
GOAL_VOICE(Channel.VOICE, 3),
MUSIC_PULSE(Channel.MUSIC, 4);
public enum Channel { MUSIC, EFFECTS, VOICE }
private final Channel channel;
private final int variants;
AudioCue(Channel channel, int variants) {
this.channel = channel;
this.variants = variants;
}
public Channel channel() { return channel; }
public int variants() { return variants; }
}