Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Debug

Debug statistics and flags for Excalibur. If polling these values, it would be best to do so on the postupdate event for Engine, after all values have been updated during a frame.

Hierarchy

  • Debug

Implements

Index

Object literals

Object literals

stats

stats: object

Performance statistics

currFrame

currFrame: FrameStats = new FrameStats()

Current frame statistics. Engine reuses this instance, use FrameStats.clone to copy frame stats. Best accessed on postframe event. See IFrameStats

prevFrame

prevFrame: FrameStats = new FrameStats()

Previous frame statistics. Engine reuses this instance, use FrameStats.clone to copy frame stats. Best accessed on preframe event. Best inspected on engine event preframe. See IFrameStats