void Score::Update() { if(Keyboard_Get(KEY_INPUT_Y) == 1) clsDx(); if (val_score != score) val_score = score; if (val_hiscore != hi_score) val_hiscore = hi_score; if (score > hi_score) hi_score = score; // TEST if (!DebugMode::isTest) return; /* if (Keyboard_Get(KEY_INPUT_1) == 1) AddScore(123); // test if (Keyboard_Get(KEY_INPUT_2) == 1) DeleteScore(); // test */ // ShowResult(); }
void TestPumpkin::update() { Mover::update(); clsDx(); printfDx("%f, %f", this->angle, this->destAngle); this->rotation = this->angle * 3.141592/180; }