veloren/common/src/comp/mod.rs
Adam Whitehurst d383abf950 Re add combat
2020-02-11 07:42:17 -08:00

43 lines
1.2 KiB
Rust

mod ability;
mod admin;
pub mod agent;
mod body;
mod character_state;
mod controller;
mod energy;
mod inputs;
mod inventory;
mod last;
mod location;
mod phys;
mod player;
pub mod projectile;
mod stats;
mod visual;
// Reexports
pub use ability::{AbilityAction, AbilityActionKind, AbilityPool};
pub use admin::Admin;
pub use agent::{Agent, Alignment};
pub use body::{
biped_large, bird_medium, bird_small, critter, dragon, fish_medium, fish_small, humanoid,
object, quadruped_medium, quadruped_small, AllBodies, Body, BodyData,
};
pub use character_state::{Attacking, CharacterState, EcsStateData, StateUpdate};
pub use controller::{
ControlEvent, Controller, ControllerInputs, Input, InputState, InventoryManip, MountState,
Mounting,
};
pub use energy::{Energy, EnergySource};
pub use inputs::CanBuild;
pub use inventory::{
item, Inventory, InventoryUpdate, Item, ItemKind, SwordKind, ToolData, ToolKind,
};
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;
pub use projectile::Projectile;
pub use stats::{Equipment, Exp, HealthChange, HealthSource, Level, Stats};
pub use visual::LightEmitter;