A small game engine for 2D games based of Raylib
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

10 行
309 B

#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));
});
}