Created
November 11, 2014 09:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//C++11 lets me initailize structs nicely. | |
//Imagine we start with C augmented thus. | |
struct Party_Member{ | |
char * character_name = NULL; | |
char * class_name = NULL; | |
int health_max = 4; | |
int member_flags = 0; | |
int experience = 0; | |
int current_level =1; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment