载入中...
搜索中...
未找到
TileSystem.h
浏览该文件的文档.
1#pragma once
2
3#include <vector>
4#include "map/TileLayer.h"
5
6namespace eve::graphics {
7struct DrawItem2D;
8}
9
10#include <vector>
11
12namespace eve::graphics {
13class Graphics;
14}
15
16namespace eve::map {
17
20public:
22 static void collect(std::vector<graphics::DrawItem2D> &out);
23
25 static void render(graphics::Graphics *gfx);
26};
27
33public:
34 static int poll();
35};
36
37} // namespace eve::map
Polls bound config files (Resource.path) and hot-reloads when modtime changes. Returns number of laye...
Definition TileSystem.h:32
Draws all visible TileLayer entities via Graphics batch path (UV atlas quads).
Definition TileSystem.h:19
static void collect(std::vector< graphics::DrawItem2D > &out)
Append non-empty visible tiles into a shared 2D draw queue.
static void render(graphics::Graphics *gfx)
Collect + draw tiles only (no present). Null gfx is a no-op.
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition AnimTrail.h:6
放置世界:格子占用(多通道)+ 地形语义 + 已放置建筑实例。 行为由 PlacementSystem 提供;本类暴露便于脚本绑定的薄封装方法。 坐标换算统一走 eve::grid(支持 rectang...