A small game engine for 2D games based of Raylib
25'ten fazla konu seçemezsiniz
Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
|
#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));
|
|
});
|
|
}
|