From 8eaacdf2e5f1e8b175f4253c2ad7d78ef4296735 Mon Sep 17 00:00:00 2001 From: Hanusiak Piotr Date: Tue, 7 Dec 2021 16:37:24 +0100 Subject: [PATCH] companion pictures store --- .../src/Components/Companion/Companion.svelte | 39 +++++++++++++++++++ .../src/Components/Menu/ProfileSubMenu.svelte | 6 +-- front/src/Phaser/Companion/Companion.ts | 32 +++++++++++++++ front/src/Phaser/Entity/Character.ts | 5 ++- front/src/Phaser/Game/GameScene.ts | 27 ++++++++++++- front/src/Stores/UserCompanionPictureStore.ts | 8 ++++ 6 files changed, 110 insertions(+), 7 deletions(-) create mode 100644 front/src/Components/Companion/Companion.svelte create mode 100644 front/src/Stores/UserCompanionPictureStore.ts diff --git a/front/src/Components/Companion/Companion.svelte b/front/src/Components/Companion/Companion.svelte new file mode 100644 index 00000000..984e8bba --- /dev/null +++ b/front/src/Components/Companion/Companion.svelte @@ -0,0 +1,39 @@ + + + + + diff --git a/front/src/Components/Menu/ProfileSubMenu.svelte b/front/src/Components/Menu/ProfileSubMenu.svelte index c2fcc24d..07356f6c 100644 --- a/front/src/Components/Menu/ProfileSubMenu.svelte +++ b/front/src/Components/Menu/ProfileSubMenu.svelte @@ -16,6 +16,7 @@ import btnProfileSubMenuIdentity from "../images/btn-menu-profile-identity.svg"; import btnProfileSubMenuCompanion from "../images/btn-menu-profile-companion.svg"; import Woka from "../Woka/Woka.svelte"; + import Companion from "../Companion/Companion.svelte"; function disableMenuStores() { menuVisiblilityStore.set(false); @@ -65,14 +66,11 @@ Edit your name