veloren/common/src/comp/mod.rs

43 lines
1.2 KiB
Rust
Raw Normal View History

2020-01-01 17:16:29 +00:00
mod ability;
2019-08-12 14:05:58 +00:00
mod admin;
2020-01-25 18:49:47 +00:00
pub mod agent;
2019-06-28 23:42:51 +00:00
mod body;
mod character_state;
mod controller;
mod energy;
mod inputs;
2019-06-28 23:42:51 +00:00
mod inventory;
mod last;
2019-09-25 20:22:39 +00:00
mod location;
mod phys;
mod player;
2019-09-17 12:43:19 +00:00
pub mod projectile;
mod stats;
2019-07-21 16:50:13 +00:00
mod visual;
2019-01-02 19:22:01 +00:00
// Reexports
pub use ability::{CharacterAbility, ItemConfig, Loadout};
pub use admin::Admin;
pub use agent::{Agent, Alignment};
pub use body::{
2020-01-26 00:22:48 +00:00
biped_large, bird_medium, bird_small, critter, dragon, fish_medium, fish_small, humanoid,
object, quadruped_medium, quadruped_small, AllBodies, Body, BodyData,
};
2020-03-07 18:15:02 +00:00
pub use character_state::{Attacking, CharacterState, StateUpdate};
pub use controller::{
2020-03-23 17:13:44 +00:00
ControlEvent, Controller, ControllerInputs, Input, InventoryManip, MountState, Mounting,
};
pub use energy::{Energy, EnergySource};
pub use inputs::CanBuild;
2019-12-31 13:19:23 +00:00
pub use inventory::{
2020-03-07 20:49:15 +00:00
item, Inventory, InventoryUpdate, InventoryUpdateEvent, Item, ItemKind, SwordKind, ToolData,
ToolKind, MAX_PICKUP_RANGE_SQR,
2019-12-31 13:19:23 +00:00
};
pub use last::Last;
pub use location::{Waypoint, WaypointArea};
pub use phys::{ForceUpdate, Gravity, Mass, Ori, PhysicsState, Pos, Scale, Sticky, Vel};
pub use player::Player;
2019-09-17 12:43:19 +00:00
pub use projectile::Projectile;
pub use stats::{Exp, HealthChange, HealthSource, Level, Stats};
2019-07-21 16:50:13 +00:00
pub use visual::LightEmitter;