Rename AreaTag to Area.
This commit is contained in:
parent
fedd8b69e0
commit
9a2495d9de
|
@ -24,7 +24,7 @@ impl From<mapgen::geometry::Point> for Coordinates {
|
||||||
|
|
||||||
#[derive(Clone, Debug, Default, Reflect)]
|
#[derive(Clone, Debug, Default, Reflect)]
|
||||||
#[reflect(Component)]
|
#[reflect(Component)]
|
||||||
pub struct AreaTag;
|
pub struct Area;
|
||||||
|
|
||||||
#[derive(Clone, Debug, Default, Reflect)]
|
#[derive(Clone, Debug, Default, Reflect)]
|
||||||
#[reflect(Component)]
|
#[reflect(Component)]
|
||||||
|
@ -347,7 +347,7 @@ fn spawn_colliders(
|
||||||
pos_wrt_parent: position,
|
pos_wrt_parent: position,
|
||||||
})
|
})
|
||||||
.insert(shape.compute_aabb(&position))
|
.insert(shape.compute_aabb(&position))
|
||||||
.insert(AreaTag);
|
.insert(Area);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -437,7 +437,7 @@ fn spawn_portal_colliders(
|
||||||
|
|
||||||
fn area_description(
|
fn area_description(
|
||||||
mut events: EventReader<IntersectionEvent>,
|
mut events: EventReader<IntersectionEvent>,
|
||||||
areas: Query<&AreaTag>,
|
areas: Query<&Area>,
|
||||||
players: Query<&Player>,
|
players: Query<&Player>,
|
||||||
names: Query<&Name>,
|
names: Query<&Name>,
|
||||||
config: Res<MapConfig>,
|
config: Res<MapConfig>,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user