Advertisement
WizartCraftCode

player.h

Mar 17th, 2024 (edited)
115
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. //
  2. // Created by welli on 3/11/2024.
  3. //
  4.  
  5. #ifndef STRUCTPLAYERUNDO_PLAYER_H
  6. #define STRUCTPLAYERUNDO_PLAYER_H
  7.  
  8. #include "move_stack.h"
  9.  
  10. typedef struct player_strc {
  11.     char player_name[30];
  12.     int experience_points;
  13.     int x_position;
  14.     int y_position;
  15.     move_stack_t move_stack;
  16. } player_t;
  17.  
  18. player_t create_player(char *name);
  19.  
  20.  
  21. #endif //STRUCTPLAYERUNDO_PLAYER_H
  22.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement