: coins(START_COINS),
bonus(NO_BONUS),
max_fire_bullets(0),
- max_ice_bullets(0),
- score_multiplier(1),
- max_score_multiplier(1)
+ max_ice_bullets(0)
{
reset();
{
coins = START_COINS;
bonus = NO_BONUS;
- score_multiplier = 1;
- max_score_multiplier = 1;
}
void
writer.write_int("iceflowers", max_ice_bullets);
writer.write_int("coins", coins);
- writer.write_int("max-score-multiplier", max_score_multiplier);
}
void
lisp.get("iceflowers", max_ice_bullets);
lisp.get("coins", coins);
- lisp.get("max-score-multiplier", max_score_multiplier);
}
void
{
coins = other.coins;
bonus = other.bonus;
- score_multiplier = other.score_multiplier;
- max_score_multiplier = other.max_score_multiplier;
}
int max_fire_bullets; /**< maximum number of fire bullets in play */
int max_ice_bullets; /**< maximum number of ice bullets in play */
- int score_multiplier;
- int max_score_multiplier;
-
void operator= (const PlayerStatus& other);
private: