A small game engine for 2D games based of Raylib
No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
|
#include "entities/ui_fps_entity.h"
|
|
#include "render_state.h"
|
|
#include "raylib.h"
|
|
|
|
void ant::entities::utilities::ui_fps_entity::render() {
|
|
entity::render();
|
|
ant::render::schedule_in_frame(-255, [coords = this->transform().position](){
|
|
DrawFPS(static_cast<int>(coords.X),static_cast<int>(coords.Y));
|
|
});
|
|
}
|