Compare commits
No commits in common. "52c98da1fd234f87fa5e68b320b3648beb22b2e5" and "e5842b42fa0e7996e877394a928afb6c2ca53ad9" have entirely different histories.
52c98da1fd
...
e5842b42fa
6 changed files with 1 additions and 68 deletions
|
|
@ -1,9 +0,0 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
pub struct CastingPlugin;
|
||||
|
||||
impl Plugin for CastingPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
//todo!()
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
pub struct CollisionPlugin;
|
||||
|
||||
impl Plugin for CollisionPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
//todo!()
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
pub struct EnemyPlugin;
|
||||
|
||||
impl Plugin for EnemyPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
//todo!()
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
pub struct HealthPlugin;
|
||||
|
||||
impl Plugin for HealthPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
//todo!()
|
||||
}
|
||||
}
|
||||
24
src/main.rs
24
src/main.rs
|
|
@ -1,25 +1,3 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
use collision::CollisionPlugin;
|
||||
use casting::CastingPlugin;
|
||||
use health::HealthPlugin;
|
||||
use enemy::EnemyPlugin;
|
||||
use player::PlayerPlugin;
|
||||
|
||||
mod collision;
|
||||
mod casting;
|
||||
mod health;
|
||||
mod enemy;
|
||||
mod player;
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_plugins((
|
||||
CollisionPlugin,
|
||||
CastingPlugin,
|
||||
HealthPlugin,
|
||||
EnemyPlugin,
|
||||
PlayerPlugin))
|
||||
.run();
|
||||
println!("Hello, topchejak!");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
pub struct PlayerPlugin;
|
||||
|
||||
impl Plugin for PlayerPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
//todo!()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue