y-craft 0.3.0

Craft your dream 2D gaming experiences with the X-Craft engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Entry point for Y-Craft engine library

use std::hash::Hash;

pub mod res;
pub mod obj;
pub mod collision;
pub mod room;
pub mod app;
pub mod util;

/// Y-Craft generically uses hypothetical enums to index various things, and there are restrictions
/// on these enums for the user
pub trait IndexRestriction: Clone + Copy + Hash + Eq + 'static {}
impl<T: Clone + Copy + Hash + Eq + 'static> IndexRestriction for T {}