/** * Copyright (c) 2021 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #pragma once #include "../../libs.h" #include "../../display/camera.h" #include "../../display/font.h" #include "../../display/shader.h" #include "../../display/primitive.h" #include "../../display/primitives/quad.h" #include "../../file/asset.h" #include "../../ui/label.h" #include "../../ui/breakpoint.h" #include "../../file/assetmanager.h" typedef struct { engine_t engine; shader_t shader; font_t font; primitive_t quad; assetmanager_t manager; texture_t texture; } sandboxgame_t; /** * Initialize the sandbox scene test game. * * @param game Game to initialize. * @param engine Engine to use during init. * @return True if successful, otherwise false. */ bool sandboxGameInit(sandboxgame_t *game); /** * Update a sandbox scene. * * @param game Game to update. * @param engine Engine to use when updating. */ void sandboxGameUpdate(sandboxgame_t *game); /** * Dispose a previously created scene game. * * @param game Game to dispose. */ void sandboxGameDispose(sandboxgame_t *game);