From d2d5eb795c88de8554854aa9ddeddae8d5b3ede3 Mon Sep 17 00:00:00 2001 From: Shane Madden Date: Sun, 17 Mar 2024 19:08:26 -0600 Subject: [PATCH] more clippy --- src/objects/impls.rs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/objects/impls.rs b/src/objects/impls.rs index c4f919c..4146920 100644 --- a/src/objects/impls.rs +++ b/src/objects/impls.rs @@ -16,7 +16,6 @@ mod structure_tower; mod structure_wall; pub use self::{ - arena::*, construction_site::{ConstructionSite, CONSTRUCTION_SITE_PROTOTYPE}, creep::{Creep, CREEP_PROTOTYPE}, game_object::{GameObject, GAME_OBJECT_PROTOTYPE}, @@ -33,3 +32,15 @@ pub use self::{ structure_tower::{StructureTower, STRUCTURE_TOWER_PROTOTYPE}, structure_wall::{StructureWall, STRUCTURE_WALL_PROTOTYPE}, }; + +#[cfg(feature = "enable-body-part")] +pub use self::arena::{BodyPart, BODY_PART_PROTOTYPE}; + +#[cfg(feature = "enable-flag")] +pub use self::arena::{Flag, FLAG_PROTOTYPE}; + +#[cfg(feature = "enable-area-effect")] +pub use self::arena::{AreaEffect, AREA_EFFECT_PROTOTYPE}; + +#[cfg(feature = "enable-score")] +pub use self::arena::{ScoreCollector, SCORE_COLLECTOR_PROTOTYPE};