refactor: JI_* a Ji:: i JG_* a Jg::
This commit is contained in:
@@ -72,13 +72,13 @@ void Mapa::update() {
|
||||
}
|
||||
|
||||
if (this->porta_oberta && sam->x == 150 && sam->y == 30) {
|
||||
if (JI_KeyPressed(SDL_SCANCODE_UP)) {
|
||||
if (Ji::keyPressed(SDL_SCANCODE_UP)) {
|
||||
this->sam->o = 4;
|
||||
this->sam->y -= 15;
|
||||
}
|
||||
}
|
||||
|
||||
if (JG_GetCycleCounter() % 8 == 0) {
|
||||
if (Jg::getCycleCounter() % 8 == 0) {
|
||||
this->frame_torxes++;
|
||||
this->frame_torxes = this->frame_torxes % 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user