From 469b3f23a8b0418b4b94170ddaa9d78ff866ad0a Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Wed, 5 Apr 2023 22:21:11 -0700 Subject: [PATCH] Player texture --- src/dawnrose/CMakeLists.txt | 3 ++- src/dawnrose/scenes/HelloWorldScene.hpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dawnrose/CMakeLists.txt b/src/dawnrose/CMakeLists.txt index 9bb8bcf8..63b0a4b6 100644 --- a/src/dawnrose/CMakeLists.txt +++ b/src/dawnrose/CMakeLists.txt @@ -25,4 +25,5 @@ tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Crab.xml) tool_prefab(${ROSE_ASSETS_DIR}/prefabs/SwordHitbox.xml) tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Wall.xml) -tool_texture(texture_urchin ${ROSE_ASSETS_DIR}/textures/Urchin.png) \ No newline at end of file +tool_texture(texture_urchin ${ROSE_ASSETS_DIR}/textures/Urchin.png) +tool_texture(texture_player ${ROSE_ASSETS_DIR}/textures/Player.png) \ No newline at end of file diff --git a/src/dawnrose/scenes/HelloWorldScene.hpp b/src/dawnrose/scenes/HelloWorldScene.hpp index a3d3e819..fc4ae20f 100644 --- a/src/dawnrose/scenes/HelloWorldScene.hpp +++ b/src/dawnrose/scenes/HelloWorldScene.hpp @@ -51,6 +51,7 @@ namespace Dawn { auto assMan = &this->game->assetManager; std::vector assets; vectorAppend(&assets, Urchin::getRequiredAssets(assMan)); + vectorAppend(&assets, Player::getRequiredAssets(assMan)); return assets; }