use bevy::app::plugin_group;
#[cfg(feature = "bevy_gamepad")]
use bevy::gilrs::GilrsPlugin;
pub mod assets;
pub mod audio;
pub mod collisions;
pub mod core;
#[cfg(feature = "godot_bevy_log")]
pub mod godot_bevy_logger;
pub mod input;
pub mod packed_scene;
pub mod scene_tree;
pub mod signals;
pub mod transforms;
pub use assets::GodotAssetsPlugin;
pub use audio::GodotAudioPlugin;
pub use collisions::GodotCollisionsPlugin;
pub use core::GodotBaseCorePlugin;
#[cfg(feature = "godot_bevy_log")]
pub use godot_bevy_logger::GodotBevyLogPlugin;
pub use input::{BevyInputBridgePlugin, GodotInputEventPlugin};
pub use packed_scene::GodotPackedScenePlugin;
pub use scene_tree::GodotSceneTreePlugin;
pub use signals::GodotSignalsPlugin;
pub use transforms::GodotTransformSyncPlugin;
#[deprecated(note = "Use GodotInputEventPlugin instead")]
pub use input::GodotInputEventPlugin as GodotInputPlugin;
plugin_group! {
pub struct GodotCorePlugins {
:GodotBaseCorePlugin,
:GodotSceneTreePlugin,
}
}
plugin_group! {
pub struct GodotDefaultPlugins {
:GodotAssetsPlugin,
:GodotCollisionsPlugin,
:GodotSignalsPlugin,
:BevyInputBridgePlugin,
:GodotAudioPlugin,
:GodotPackedScenePlugin,
:GodotTransformSyncPlugin,
#[cfg(feature = "godot_bevy_log")]
:GodotBevyLogPlugin,
#[cfg(feature = "bevy_gamepad")]
:GilrsPlugin,
}
}