Skip to content

Commit

Permalink
more clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden committed Mar 18, 2024
1 parent 9c9f8b0 commit d2d5eb7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/objects/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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};

0 comments on commit d2d5eb7

Please sign in to comment.