Skip to content

Commit

Permalink
feat: Add screen_map to manage level and camera
Browse files Browse the repository at this point in the history
  • Loading branch information
uggla committed May 4, 2024
1 parent bd9c021 commit 9e39223
Show file tree
Hide file tree
Showing 3 changed files with 566 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ use bevy::prelude::*;
use crate::{state::AppState, WINDOW_WIDTH};
pub struct CameraPlugin;

#[derive(SystemSet, Clone, Hash, Debug, PartialEq, Eq)]
pub struct CollisionState;

impl Plugin for CameraPlugin {
fn build(&self, app: &mut App) {
app.add_systems(Startup, setup_camera);
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ mod helpers;
mod level;
mod menu;
mod player;
mod screen_map;
mod state;
mod text_syllable;

Expand Down
Loading

0 comments on commit 9e39223

Please sign in to comment.