* Get engine statistics.
()
| 1087 | * Get engine statistics. |
| 1088 | */ |
| 1089 | getStats(): { fps: number; drawCalls: number; spriteCount: number } { |
| 1090 | return this._runtime?.getStats() ?? { fps: 0, drawCalls: 0, spriteCount: 0 }; |
| 1091 | } |
| 1092 | |
| 1093 | /** |
| 1094 | * Get the ECS scene. |