Init commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#define MaxNameLength 100
|
||||
#define StartingHelath 100
|
||||
|
||||
typedef struct Humanoid Humanoid_t;
|
||||
|
||||
struct Humanoid {
|
||||
char name[MaxNameLength];
|
||||
float health;
|
||||
void (*move)(Humanoid_t* self, int x, int y);
|
||||
void (*look)(Humanoid_t* self, int x, int y);
|
||||
void (*remove)(Humanoid_t* self);
|
||||
};
|
||||
|
||||
Humanoid_t* InitHuman(char* PlayerName);
|
||||
Reference in New Issue
Block a user