// Assign to a string OptionSpec & operator=(const char * decl) { if (spec != decl) { spec = decl; hidden = 0; CheckHidden(); } return *this; }
OptionSpec(const char * decl =NULLSTR) : hidden(0), spec(decl) { if (spec == NULL) spec = NULL_spec; CheckHidden(); }
void Asteroid::Update(){ Object::Update(); SetAlpha(ASTEROID_ROTATION_SPEED*GAME_SPEED*SPEED_FACTOR+GetAlpha()); CheckHidden(); }