summaryrefslogtreecommitdiff
path: root/src/room.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-13 13:26:43 +0200
committertroido <troido@protonmail.com>2020-04-13 13:26:43 +0200
commitab67714238c162646af10334715c6de41939c83f (patch)
tree9d45c458299f4aa796a0201c28a914ec214ef7b9 /src/room.rs
parentdb7b138cb66a2b48492e457fdf0ae8cd65cc73db (diff)
renamed grow to timer
Diffstat (limited to 'src/room.rs')
-rw-r--r--src/room.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/room.rs b/src/room.rs
index c0e2cd7..dbdb46f 100644
--- a/src/room.rs
+++ b/src/room.rs
@@ -64,7 +64,7 @@ use crate::{
Spawn,
Interact,
DropLoot,
- Growth,
+ Timeout,
Clear,
Building
}
@@ -72,7 +72,7 @@ use crate::{
pub fn default_dispatcher<'a, 'b>() -> Dispatcher<'a, 'b> {
DispatcherBuilder::new()
- .with(Growth, "growth", &[])
+ .with(Timeout, "timeout", &[])
.with(UpdateCooldowns, "cool_down", &[])
.with(Spawn, "spawn", &[])
.with(ControlInput, "controlinput", &["cool_down"])
@@ -118,7 +118,7 @@ impl <'a, 'b>Room<'a, 'b> {
world.insert(NewEntities::new(encyclopedia));
register_insert!(
world,
- (Position, Visible, Controller, Movable, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, TriggerBox, Trap, Fighter, Healing, ControlCooldown, Autofight, MonsterAI, Home, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Grow, Equipment, TimeOffset, Flags, Ear, Build),
+ (Position, Visible, Controller, Movable, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, TriggerBox, Trap, Fighter, Healing, ControlCooldown, Autofight, MonsterAI, Home, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Timer, Equipment, TimeOffset, Flags, Ear, Build),
(Ground, Input, Output, Size, Spawn, Players, Emigration, Time)
);