gameUpdate method

void gameUpdate(
  1. double dt
)

游戏循环更新

Implementation

void gameUpdate(double dt) {
  if (!attached) {
    return;
  }
  spriteWidget.update(dt);
  markNeedsPaint();
}