debug library


ChildCounterComponent<T extends Component>
A debug component that shows the number of children of a given type from a target component.
When DevToolsService is initialized by the FlameGame it will call the init method for all DevToolsConnectors so that they can register service extensions which are the ones that makes it possible for the devtools extension to communicate with the game.
The FpsComponent is a non-visual component which you can get the current fps of the game with by calling fps, once the component has been added to the component tree.
FpsTextComponent<T extends TextRenderer>
The FpsTextComponent is a TextComponent that writes out the current FPS. It has a FpsComponent as a child which does the actual calculations.
A component that offers a simple way to track time spent in different parts of your game.