2024-02-05 06:41:45 +00:00
|
|
|
use std::collections::HashMap;
|
|
|
|
|
2024-02-01 08:04:07 +00:00
|
|
|
use crate::model;
|
|
|
|
use crate::gameplay_modes;
|
2024-02-02 03:44:17 +00:00
|
|
|
use crate::gameplay_attributes;
|
2024-02-01 08:04:07 +00:00
|
|
|
//this is the current map data loaded in memory
|
|
|
|
pub struct Map{
|
2024-02-02 03:44:17 +00:00
|
|
|
pub modes:gameplay_modes::Modes,
|
2024-02-05 06:41:45 +00:00
|
|
|
pub indexed_models:HashMap<model::IndexedModelId,model::IndexedModel>,
|
|
|
|
pub models:HashMap<model::ModelId,model::Model>,
|
2024-02-02 03:44:17 +00:00
|
|
|
pub attributes:Vec<gameplay_attributes::CollisionAttributes>,
|
2024-02-01 08:04:07 +00:00
|
|
|
//RenderPattern
|
2024-02-02 03:44:17 +00:00
|
|
|
pub textures:Vec<Vec<u8>>,
|
2024-02-01 08:04:07 +00:00
|
|
|
}
|