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