Expand description
§lib.rs
§lib.rs 文件
§Module Overview
§模块概述
This is the main library entry point for the Souprune framework. It orchestrates the application startup, including logging initialization, plugin registration (Bevy defaults, third-party, and game-specific), and configuring the asset system for multi-source loading.
这是 Souprune 框架的主要库入口点。它负责协调应用程序的启动,包括日志初始化、插件注册(Bevy 默认插件、第三方插件和游戏特定插件),以及配置用于多源加载的资产系统。
Re-exports§
pub use crate::core::item::Item;pub use crate::core::item::ItemAsset;pub use crate::core::item::ItemEffect;pub use crate::core::item::ItemRegistry;pub use crate::core::item::ItemType;pub use crate::core::save::LoadCompleteEvent;pub use crate::core::save::LoadGameEvent;pub use crate::core::save::SaveCompleteEvent;pub use crate::core::save::SaveConfig;pub use crate::core::save::SaveData;pub use crate::core::save::SaveGameEvent;pub use crate::core::save::SaveMetadata;pub use crate::core::save::SaveSlot;pub use crate::core::save::Saveable;
Modules§
Structs§
- Animation
Config Asset - Animation configuration asset mapping states to animation clips.
- Character
Asset - Character asset defining all properties of a character (player or NPC).
- Layer
Transitions Def - Navigation
Rule Def - Player
Behavior - Runtime configuration describing how the overworld player should behave.
- Serializable
Vec3 - Transition
Rule Def - UIBox
Logic Def - UILayout
Asset - UINode
Def
Enums§
- Action
- BoxCursor
Position Def - Direction
- Float
OrExpr - Index
Bound Def - State
Animation Mapping - Defines how a state maps to directional animations.
- Transition
Action Def