Crate ycraft

Crate ycraft 

Source
Expand description

Entry point for Y-Craft engine library

Modules§

app
Keep track of SDL context and window state as well as run main game loop
collision
Implement collision shapes and handle collisions between them
obj
Generic “GameObject” system that defines sets of behaviors using enums for resources/obj data
res
Load Images, Fonts, and Sounds (i.e. resources)
room
Collect game objects to maintain a type of game object
util
Helpful, static functions for game dev

Traits§

IndexRestriction
Y-Craft generically uses hypothetical enums to index various things, and there are restrictions on these enums for the user