You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
294 B

  1. #ifndef PLAYER_H
  2. #define PLAYER_H
  3. #include "items.h"
  4. typedef struct
  5. {
  6. int id;
  7. int itemCounter;
  8. Item itemInventory[100];
  9. int wallet;
  10. } Player;
  11. Player addItemToInventory(Item *availableItem, int itemIndex, Player actualPlayer);
  12. void showInventory(Player actualPlayer);
  13. #endif