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
extern crate a2d;
extern crate anyhow;
extern crate futures;
extern crate gilrs;

use a2d::winit;

mod context;
mod game;
mod input;
mod window;

pub use context::AppContext;
pub use context::RenderContext;
pub use game::Game;
pub use game::Options;
pub use input::Axis;
pub use input::DeviceId;
pub use input::GamepadButton;
pub use input::Key;
pub use input::MouseButton;
pub use window::run;
pub use window::Window;

// re-exported from a2d
pub use a2d::Color;
pub use a2d::Dimensions;
pub use a2d::Instance;
pub use a2d::Point;
pub use a2d::Rect;
pub use a2d::SpriteBatch;
pub use a2d::SpriteSheet;
pub use a2d::TextGrid;