Rename AreaTag to Area.

This commit is contained in:
Nolan Darilek 2021-07-19 11:30:27 -05:00
parent fedd8b69e0
commit 9a2495d9de

View File

@ -24,7 +24,7 @@ impl From<mapgen::geometry::Point> for Coordinates {
#[derive(Clone, Debug, Default, Reflect)]
#[reflect(Component)]
pub struct AreaTag;
pub struct Area;
#[derive(Clone, Debug, Default, Reflect)]
#[reflect(Component)]
@ -347,7 +347,7 @@ fn spawn_colliders(
pos_wrt_parent: position,
})
.insert(shape.compute_aabb(&position))
.insert(AreaTag);
.insert(Area);
}
}
}
@ -437,7 +437,7 @@ fn spawn_portal_colliders(
fn area_description(
mut events: EventReader<IntersectionEvent>,
areas: Query<&AreaTag>,
areas: Query<&Area>,
players: Query<&Player>,
names: Query<&Name>,
config: Res<MapConfig>,