feat(player): estat ATTACKING amb edge-detect, animacions i spawn del whip via bus

This commit is contained in:
JailDesigner committed 2026-04-28 16:20:22 +02:00
1 parent 5db3bb0bd0
commit d208ba02df
7 files changed
+288 -1

No files matched your search

+2
View File
@@ -78,6 +78,7 @@ namespace Defaults {
constexpr SDL_Scancode LEFT = SDL_SCANCODE_LEFT;
constexpr SDL_Scancode RIGHT = SDL_SCANCODE_RIGHT;
constexpr SDL_Scancode JUMP = SDL_SCANCODE_M;
constexpr SDL_Scancode ATTACK = SDL_SCANCODE_N;
constexpr SDL_Scancode EXIT = SDL_SCANCODE_ESCAPE;
} // namespace KeysGame
@@ -91,6 +92,7 @@ namespace Defaults {
constexpr SDL_Scancode LEFT = SDL_SCANCODE_A;
constexpr SDL_Scancode RIGHT = SDL_SCANCODE_D;
constexpr SDL_Scancode JUMP = SDL_SCANCODE_V;
constexpr SDL_Scancode ATTACK = SDL_SCANCODE_C;
} // namespace KeysGameP2
namespace Player {