mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Basis Audio Display toegevoegd + standaard CSS toegevoegd
Kan nu zien hoe lang de song duurt, hoe lang ie al bezig is met draaien en de titel (-.mp3)
This commit is contained in:
@@ -18,6 +18,7 @@ public class AudioEvents extends EventsBase {
|
||||
/** Start background music. */
|
||||
public record StartBackgroundMusic() implements GenericEvent {}
|
||||
|
||||
/** Gives back the name of the song, the position its currently at (in seconds) and how long it takes (in seconds) */
|
||||
public record PlayingMusic(String name, long currentPosition, long duration) implements GenericEvent {}
|
||||
|
||||
/** Change volume, choose type with {@link VolumeControl}. */
|
||||
|
||||
Reference in New Issue
Block a user