Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
print("Username: ", currentPlayer.username.c_str());
print(" Level: ", currentPlayer.level);
print(" Health: ", currentPlayer.health_points);
print(" Energy: ", currentPlayer.energy_points);
if (currentPlayer.abilities.size() > 0) {
print(" Abilities: ");
for (uint32_t i = 0; i < currentPlayer.abilities.size(); i++) {
print(currentPlayer.abilities.at(i).c_str(), " ");
}
} else {
print(" No Abilities");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.