Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
gamesystem -> game_system.
Browse files Browse the repository at this point in the history
See #48.
  • Loading branch information
ndouglas committed Oct 29, 2021
1 parent 7e7b6f5 commit 476e427
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/effects/experience.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use super::*;
use crate::components::{Attributes, EquipmentChanged, Pools, Skills};
use crate::gamesystem::{mana_at_level, player_hp_at_level};
use crate::game_system::{mana_at_level, player_hp_at_level};

pub fn add_experience(ecs: &mut World, experience_effect: &EffectSpawner, target: Entity) {
let mut pools = ecs.write_storage::<Pools>();
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ mod rect;
pub use rect::Rect;
mod damage_system;
mod gamelog;
mod gamesystem;
mod game_system;
mod gui;
pub mod map_builders;
pub mod random_table;
pub mod raws;
pub mod rex_assets;
pub mod saveload_system;
mod spawner;
pub use gamesystem::*;
pub use game_system::*;
pub mod effects;
#[macro_use]
extern crate lazy_static;
Expand Down
2 changes: 1 addition & 1 deletion src/systems/ai/encumbrance_system.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{
gamesystem::attr_bonus, AttributeBonus, Attributes, EquipmentChanged, Equipped, InBackpack,
game_system::attr_bonus, AttributeBonus, Attributes, EquipmentChanged, Equipped, InBackpack,
Item, Pools, Slow, StatusEffect,
};
use specs::prelude::*;
Expand Down

0 comments on commit 476e427

Please sign in to comment.