spottedcat 1.0.0

Rusty SpottedCat simple game engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{Spot, WindowConfig};

#[cfg(target_os = "android")]
use android_activity::AndroidApp;

pub(crate) trait WindowBackend {
    #[cfg(not(target_os = "android"))]
    fn run<T: Spot + 'static>(window: WindowConfig);

    #[cfg(target_os = "android")]
    fn run<T: Spot + 'static>(window: WindowConfig, app: AndroidApp);
}