Phoenix/include/player.hpp

16 lines
265 B
C++

#pragma once
#include <string>
enum PPlayerFacingDirection { Up, Down, Left, Right };
struct PPlayer {
std::string name;
int x;
int y;
int health = 100;
int maxHealth = 100;
PPlayerFacingDirection facing = Up;
};
void PRenderPlayer(PPlayer *player);