common/src/map.rs

12 lines
312 B
Rust
Raw Normal View History

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,
pub models:model::Models,
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
}