bevy/src/prelude.rs

32 lines
1.3 KiB
Rust
Raw Normal View History

pub use crate::{
app::{
2020-07-10 04:18:35 +00:00
schedule_runner::ScheduleRunnerPlugin, stage, App, AppBuilder, AppPlugin, DynamicAppPlugin,
EventReader, Events,
},
2020-06-05 07:50:37 +00:00
asset::{AddAsset, AssetEvent, AssetServer, Assets, Handle},
audio::{AudioOutput, AudioSource},
core::{Time, Timer},
2020-06-05 07:50:37 +00:00
diagnostic::DiagnosticsPlugin,
2020-07-10 04:18:35 +00:00
ecs::{
Bundle, Commands, Component, Entity, FromResources, IntoForEachSystem, IntoQuerySystem,
IntoThreadLocalSystem, Local, Query, Ref, RefMut, Res, ResMut, Resource, Resources, System,
2020-07-10 08:37:06 +00:00
World, WorldBuilderSource,
2020-07-10 04:18:35 +00:00
},
2020-06-05 07:50:37 +00:00
input::{keyboard::KeyCode, mouse::MouseButton, Input},
2020-07-17 00:23:50 +00:00
math::{self, FaceToward, Mat3, Mat4, Quat, Vec2, Vec3, Vec4},
2020-06-05 07:50:37 +00:00
pbr::{entity::*, light::Light, material::StandardMaterial},
property::{DynamicProperties, Properties, PropertiesVal, Property, PropertyVal},
render::prelude::*,
2020-06-05 07:50:37 +00:00
scene::{Scene, SceneSpawner},
sprite::{
entity::{SpriteComponents, SpriteSheetComponents},
ColorMaterial, Sprite, TextureAtlas, TextureAtlasSprite,
2020-06-05 07:50:37 +00:00
},
text::{Font, TextStyle},
2020-06-05 07:50:37 +00:00
transform::prelude::*,
type_registry::RegisterType,
ui::{entity::*, widget::Label, Anchors, Margins, Node},
window::{Window, WindowDescriptor, WindowPlugin, Windows},
AddDefaultPlugins,
};