mirror of
https://github.com/lightsoutgames/bevy_openal.git
synced 2024-11-21 08:55:56 +00:00
Restore missing derives.
This commit is contained in:
parent
2410d00b8c
commit
ea24e966ef
|
@ -119,7 +119,7 @@ fn buffer_creation(
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Reflect)]
|
||||
pub enum SoundState {
|
||||
Stopped,
|
||||
Playing,
|
||||
|
@ -132,12 +132,14 @@ impl Default for SoundState {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Reflect)]
|
||||
pub struct Sound {
|
||||
pub buffer: Handle<Buffer>,
|
||||
pub state: SoundState,
|
||||
pub gain: f32,
|
||||
pub looping: bool,
|
||||
pub pitch: f32,
|
||||
#[reflect(ignore)]
|
||||
pub source: Option<StaticSource>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user