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