Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubG-git committed May 10, 2024
1 parent 88450b9 commit 942d6ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions bdi_game/src/simulation/entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ use super::entity_actions_queue::EntityCommand;
use super::entity_state::EntityState;
use super::grid::GridPoint;

pub struct Entity
{
pub struct Entity {
pub position: GridPoint,
pub actions: EntityActionsQueue,
pub state: EntityState,
Expand Down
2 changes: 1 addition & 1 deletion bdi_game/src/simulation/entity_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
pub enum EntityState {
Idle,
Moving,
}
}
2 changes: 0 additions & 2 deletions bdi_game/src/simulation/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
pub mod entity;
pub mod entity_actions_queue;
pub mod entity_state;
pub mod entity_state_machine;
pub mod entity_type;
pub mod grid;
pub mod simulation;
pub mod world_grid;
Expand Down

0 comments on commit 942d6ca

Please sign in to comment.