Added joker selling (still no animation) + fixed SpriteObject constructor focused bug

This commit is contained in:
MeirGavish
2025-08-16 15:38:34 +03:00
parent 92fa279059
commit 64274ae465
7 changed files with 120 additions and 38 deletions
+1
View File
@@ -78,6 +78,7 @@ void joker_destroy(Joker **joker);
// Unique effects like "Four Fingers" or "Credit Card" will be hard coded into game.c with a conditional check for the joker ID from the players owned jokers
// game.c should probably be restructured so most of the variables in it are moved to some sort of global variable header file so they can be easily accessed and modified for the jokers
JokerEffect joker_get_score_effect(Joker *joker, Card *scored_card);
int joker_get_sell_value(const Joker* joker);
JokerObject *joker_object_new(Joker *joker);
void joker_object_destroy(JokerObject **joker_object);