From 888aed8102245825d6602fe49a2b246f7008a9d3 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 4 Oct 2018 20:31:02 +0200 Subject: [PATCH] Starting editor --- Cargo.toml | 5 ++++- src/app/editor.rs | 3 +++ src/{game/main.rs => app/game.rs} | 0 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/app/editor.rs rename src/{game/main.rs => app/game.rs} (100%) diff --git a/Cargo.toml b/Cargo.toml index 8d21219..b47da53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,5 +8,8 @@ sfml = "0.14.0" [[bin]] name = "rusty-maker" -path = "src/game/main.rs" +path = "src/app/game.rs" +[[bin]] +name = "rusty-editor" +path = "src/app/editor.rs" diff --git a/src/app/editor.rs b/src/app/editor.rs new file mode 100644 index 0000000..2a778e4 --- /dev/null +++ b/src/app/editor.rs @@ -0,0 +1,3 @@ +fn main() { + +} diff --git a/src/game/main.rs b/src/app/game.rs similarity index 100% rename from src/game/main.rs rename to src/app/game.rs