Initial asset manager.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package game
|
||||
|
||||
import rl "vendor:raylib"
|
||||
|
||||
Asset_Manager :: struct {
|
||||
// Empty for now.
|
||||
}
|
||||
|
||||
asset_manager_init :: proc() -> Asset_Manager {
|
||||
assets := Asset_Manager{}
|
||||
|
||||
return assets
|
||||
}
|
||||
|
||||
asset_manager_destroy :: proc(assets: ^Asset_Manager) {
|
||||
// unload textures here later.
|
||||
}
|
||||
Reference in New Issue
Block a user