emerald 0.3.214

A lite, fully featured 2D game engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use emerald::*;

pub fn main() {
    emerald::start(Box::new(LoggingExample {}), GameSettings::default())
}

pub struct LoggingExample;
impl Game for LoggingExample {
    fn update(&mut self, mut emd: Emerald) {
        emd.logger().info("hey we're logging in emerald").unwrap();
    }
}