Crate ggez [] [src]

Reexports

pub use game::Game;

Modules

audio

Provides an interface to output sound to the user's speakers.

conf

The conf module contains functions for loading and saving game configurations. A lot of this is lifted whole-hog from LÖVE because it's stuff we need anyway.

filesystem

Provides an interface to the user's filesystem.

game

This module contains traits and structs to actually run your game mainloop and handle top-level state.

graphics

The graphics module performs the actual drawing of images, text, and other objects with the Drawable trait. It also handles basic loading of images and text, apparently.

timer

Timing and measurement functions.

Structs

Context

A Context holds all the state needed to interface with the hardware. Only one Context can exist at a time.

Enums

GameError

An enum containing all kinds of game engine error.

Type Definitions

GameResult

A convenient result type consisting of a return type and a GameError