35 lines
622 B
Rust
35 lines
622 B
Rust
use raylib::prelude::*;
|
|
|
|
use crate::{
|
|
gamecore::{GameCore, GameState},
|
|
lib::wrappers::audio::player::AudioPlayer,
|
|
};
|
|
|
|
use super::screen::Screen;
|
|
|
|
pub struct PauseMenuScreen {}
|
|
|
|
impl PauseMenuScreen {
|
|
pub fn new() -> Self {
|
|
Self {}
|
|
}
|
|
}
|
|
|
|
impl Screen for PauseMenuScreen {
|
|
fn render(
|
|
&mut self,
|
|
draw_handle: &mut RaylibDrawHandle,
|
|
thread: &RaylibThread,
|
|
audio_system: &mut AudioPlayer,
|
|
game_core: &mut GameCore,
|
|
) -> Option<GameState> {
|
|
|
|
// Clear frame
|
|
draw_handle.clear_background(Color::WHITE);
|
|
|
|
|
|
|
|
return None;
|
|
}
|
|
}
|