Crate korome [−] [src]
A small game engine written in Rust.
This crate is constantly changing and therefore highly unstable
Reexports
pub extern crate glium; |
Macros
include_texture |
Loads a texture, by loading the bytes at compile-time |
is_down |
Macro for easily doing things if particular keys are down |
Structs
Drawer |
Provides functionality for drawing. |
FrameInfo |
Wraps together useful data about what has happened (e.g. events) |
Graphics |
Contains the display and handles most of the graphics |
Quad |
A simple rectangle that can be drawn on the screen |
QuadDrawer |
Object for drawing polygons to the screen using the builder pattern |
Texture |
A 2D texture that is ready to be drawn |
TextureDrawer |
Object for drawing textures to the screen using the builder pattern |
Enums
Event | |
GameUpdate |
This is returned each frame from an object implementing |
GraphicsCreationError |
Wraps together errors that could occur creating a |
MouseButton | |
TextureError |
Wraps together all errors that can occur creating |
VirtualKeyCode |
Traits
Game |
Methods |
Functions
run_until_closed |
Runs the game until the window is closed |
Type Definitions
TextureResult |
Result type for |