Separate library and binary crates
This commit is contained in:
parent
bc101702aa
commit
9b5fd86a7c
|
@ -1,5 +1,5 @@
|
|||
mod element;
|
||||
mod rules;
|
||||
pub mod rules;
|
||||
mod systems;
|
||||
|
||||
use bevy::{
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
pub mod falling_sand;
|
||||
pub mod util;
|
|
@ -1,11 +1,9 @@
|
|||
mod falling_sand;
|
||||
mod util;
|
||||
|
||||
use bevy::{
|
||||
diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin},
|
||||
prelude::*,
|
||||
window::PresentMode,
|
||||
};
|
||||
use haranae_rs::falling_sand;
|
||||
|
||||
fn main() {
|
||||
let window_plugin = WindowPlugin {
|
||||
|
|
Loading…
Reference in New Issue