ashscript_types/constants/structures.rs
1use enum_map::EnumMap;
2use hashbrown::HashSet;
3use lazy_static::lazy_static;
4
5use crate::objects::GameObjectKind;
6
7lazy_static! {
8 pub static ref IMPASSIBLE_GAME_OBJECTS: HashSet<GameObjectKind> = [
9 GameObjectKind::Turret,
10 GameObjectKind::Factory,
11 GameObjectKind::Unit
12 ]
13 .iter()
14 .cloned()
15 .collect::<HashSet<GameObjectKind>>();
16}