- [NEW] Jump booster implementat

- [NEW] God booster implementat
- [NEW] Contadors dels boosters, ja no son infinits.
- [FIX] Al botar si topeta en algo, no ho atravesa (bueno, algunes vegades encara...)
This commit is contained in:
2024-07-01 20:02:26 +02:00
parent 8789bea813
commit 8b1cf9a405
4 changed files with 103 additions and 29 deletions

View File

@@ -46,8 +46,7 @@
#define BOOST_NONE 0
#define BOOST_RUN 1
#define BOOST_GOD 2
#define BOOST_LONG_JUMP 3
#define BOOST_TALL_JUMP 4
#define BOOST_JUMP 4
// Skills
#define SKILL_NONE 0
@@ -167,8 +166,13 @@ namespace actor
namespace hero
{
void setBooster(int booster);
int getBooster();
void collectBooster(int booster);
int getBoostGod();
int getBoostRun();
int getBoostJump();
void useBoostGod();
void useBoostRun();
void useBoostJump();
void giveSkill(int skill);
int getSkills();