Split Rust game src into modules; update AGENTS.md for dual toolchain

- Refactor apps/game/src/main.rs into modules: state.rs, camera.rs, ui/, gameplay/
- Add gameplay/galaxy_creation.rs scaffold (stubs only, no new logic)
- Update root AGENTS.md: separate TS workspace vs Rust game commands
- Update apps/AGENTS.md: docs/game/site use two toolchains, not one
- Add apps/game/AGENTS.md: build commands, module layout, naming conventions, Plugin pattern
This commit is contained in:
2026-06-04 10:00:43 -04:00
parent a1717e12db
commit a7796a1394
10 changed files with 337 additions and 195 deletions

5
apps/game/src/camera.rs Normal file
View File

@@ -0,0 +1,5 @@
use bevy::prelude::*;
pub fn spawn_camera(mut commands: Commands) {
commands.spawn(Camera2d);
}