gsa/examples/basic/main.rs

15 lines
266 B
Rust

use glam::IVec2;
use gsa::{run, Gsa, FACE_DOWN};
struct Game {}
fn init(gsa: &mut Gsa) -> Game {
gsa.bg[0].fill(0x0101);
//gsa.write_string(IVec2::ONE, "Hello world nyaa~");
Game {}
}
fn update(_game: &mut Game, gsa: &mut Gsa) {}
run!(init, update);