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.
16 lines
252 B
16 lines
252 B
#ifndef PLAYER_H
|
|
#define PLAYER_H
|
|
|
|
#include "items.h"
|
|
|
|
typedef struct
|
|
{
|
|
int id;
|
|
int itemCounter;
|
|
Item itemInventory[100];
|
|
int wallet;
|
|
} Player;
|
|
|
|
Player addItemToInventory(Item *availableItem, int itemIndex, Player actualPlayer);
|
|
|
|
#endif
|