aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-client/src/graphics/mod.rs
blob: 8118207d70af0804ac6e98f4aa05ab5531532f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Graphics module
//!
//! Each entity in the game has a graphics companion object in
//! [`entities`](self::entities), which knows how to render a given
//! object.  Different game screens and UI elements can be found in
//! [`ui`](self::ui).

pub mod entities;
pub mod ui;

/// A utility module to include everything required to implement a
/// graphics entity
pub(self) mod prelude {
    pub use ggez::{event::EventHandler, graphics::{self, Drawable, DrawParam, Mesh, DrawMode}, Context, GameResult};
    pub use mint::Point2;
}