1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#![recursion_limit = "128"]
#[macro_use]
pub mod macros;
pub mod constants;
pub mod game;
pub mod inter_shard_memory;
pub mod js_collections;
pub mod memory;
pub mod objects;
pub mod pathfinder;
mod positions;
pub mod raw_memory;
pub mod traits;
pub use stdweb::private::ConversionError;
pub use crate::{
constants::*,
js_collections::JsVec,
objects::*,
positions::{LocalRoomName, LocalRoomNameParseError, LocalRoomPosition},
traits::{FromExpectedType, IntoExpectedType},
};
pub mod prelude {
pub use crate::objects::{
CanDecay, CanStoreEnergy, HasCooldown, HasId, HasPosition, HasStore,
OwnedStructureProperties, RoomObjectProperties, StructureProperties,
};
}