hexga_engine_base 0.0.10-beta.16

The heart of the Hexga Game Engine, implementation free
Documentation
use crate::*;

#[derive(Default, PartialEq, Eq, Clone, Hash)]
pub struct MultiMediaParam
{
    pub window_param : WindowParam,
    pub pen_param : PenParam,
}

impl MultiMediaParam
{
    pub fn new() -> Self { ___() }
    pub fn window(mut self, window : WindowParam) -> Self { self.window_param = window; self }
    pub fn pen(mut self, pen_param : PenParam) -> Self { self.pen_param = pen_param; self }
}

impl MultiMediaParam
{
    // Impl this function from a trait in your engine implementation
    /*
    pub fn run_with_context<T>(self, state : impl 'static + FnOnce() -> T) where T: MainLoopWithContext + 'static
    */
}


pub mod prelude
{
    use crate::*;
    pub use super::MultiMediaParam;
}

/// Modules/Items without the prelude
#[doc(hidden)]
pub mod modules
{
    pub use super::MultiMediaParam;
}