1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#![allow(unused_imports, dead_code)]
#[macro_use]

mod error;
mod math;
mod utils;
mod pill_slotmap;
mod pill_twinmap;
mod pill_typemap;
mod bitmask_utils;

// --- Use ---

pub use math::*;

pub use error::EngineError;

pub use pill_slotmap::{ 
    PillSlotMap, 
    PillSlotMapKey, 
    PillSlotMapKeyData,
};

pub use pill_twinmap::{
    PillTwinMap,
};

pub use pill_typemap::{
    PillTypeMap,
    PillTypeMapKey,
};

pub use bitmask_utils::{
    create_bitmask_from_range,
    create_bitmask_with_one,
    get_indices_of_set_elements,
};

pub use utils::{ 
    PillStyle,
    get_type_name, 
    get_value_type_name, 
    enum_variant_eq, 
    get_enum_variant_type_name, 
    validate_asset_path,
    get_game_error_message,
};