Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef PLAYER_H
#define PLAYER_h
#inclide "item.h"
int MAX_ITEMS = 25;
typedef struct Player
{
Position * position;
int health;
int attack;
int gold;
int maxHealth;
int exp;
int numberItems;
Item **items;
} Player;
Player * playerSetUp();
Postition *handleInput(int input, Player * user);
void playerMove(Position * newPosition, Player * user, char ** level);
void drawPlayer(Player * player);
#endif