2024-11-22 22:14:13 +01:00
|
|
|
use bevy::prelude::*;
|
|
|
|
use bevy_rapier2d::prelude::*;
|
|
|
|
use player::player_plugin;
|
2024-11-22 22:39:00 +01:00
|
|
|
use scene::scene_plugin;
|
2024-11-22 22:14:13 +01:00
|
|
|
|
2024-11-23 01:40:50 +01:00
|
|
|
use crate::AppState;
|
|
|
|
|
2024-11-22 22:14:13 +01:00
|
|
|
mod player;
|
2024-11-22 22:39:00 +01:00
|
|
|
mod scene;
|
2024-11-22 22:26:20 +01:00
|
|
|
mod set;
|
2024-11-22 22:14:13 +01:00
|
|
|
|
2024-11-23 01:40:50 +01:00
|
|
|
pub fn game_plugin(app: &mut App) {
|
2024-11-22 22:39:00 +01:00
|
|
|
app.add_plugins((player_plugin, scene_plugin));
|
2024-11-22 22:14:13 +01:00
|
|
|
}
|