* Start the game loop (preview mode).
()
| 481 | * Start the game loop (preview mode). |
| 482 | */ |
| 483 | start(): void { |
| 484 | if (!this._initialized || !this._runtime || this._running) { |
| 485 | return; |
| 486 | } |
| 487 | |
| 488 | this._running = true; |
| 489 | this._runtime.start(); |
| 490 | |
| 491 | // 启动自动播放动画 |
| 492 | this._startAutoPlayAnimations(); |
| 493 | } |
| 494 | |
| 495 | /** |
| 496 | * Stop the game loop. |
no test coverage detected