Skip to content

Instantly share code, notes, and snippets.

View kwyse's full-sized avatar

Krishan Wyse kwyse

View GitHub Profile
kwyse /
Last active January 7, 2018 12:01
Demo application for Specs and SDL2 for
extern crate sdl2;
extern crate specs;
extern crate specs_derive;
use sdl2::event::Event;
use sdl2::keyboard::Keycode;
use sdl2::rect::Rect;
use specs::{DispatcherBuilder, Join, System, World};