You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before doing this issue, the issue above will need to besolved first!
// 68 A player has a hair color
{
player p;
// A player's hair is black by defaultconst color black; // tune the input as needed to get the right colorassert(p.get_hair_color() == black);
// Hair color can be set at constructionconst color red;
p = player(red);
assert(p.get_hair_color() == red);
// Hair color can be set e.g. through optionsconst color white;
assert(p.get_hair_color() == white);
}
The text was updated successfully, but these errors were encountered:
Depends on
Before doing this issue, the issue above will need to besolved first!
The text was updated successfully, but these errors were encountered: