Commit 07ef4402 by krkane

Delete Header.h

parent 07622118
Showing with 0 additions and 43 deletions
#ifndef GAME_HEADER_H
#define GAME_HEADER_H
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#define NUM_HENCHMEN 5
typedef struct
{
int health;
int attack;
int potionCount;
} Player;
typedef struct
{
int health;
int attack;
char type[20];
} Enemy;
typedef struct
{
int health;
int attack;
char type[20];
} FinalBoss;
void PrintWelcomeMessage(void);
void DisplayGameRules(void);
Player CreatePlayer();
int Move(int defeated_enemies);
int fight(Player *p, Enemy *e);
int bossFight(Player *p, Enemy *boss);
void usePotion(Player *p, int initialHealth, int currentHealth);
void levelUp(Player *p);
Enemy CreateEnemy(int defeated_enemies);
FinalBoss CreateFinalBoss(int defeated_enemies);
#endif //GAME_HEADER_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment