载入中...
搜索中...
未找到
DamageNumbersInternal.h
浏览该文件的文档.
1#pragma once
2
4
5#include <array>
6
7namespace eve::graphics {
9 struct Popup {
12 std::string text;
13 double age = 0.0;
14 float lane = 0.f;
15 };
16 std::array<DamageNumberStyle, 4> styles;
17 std::vector<Popup> items;
18 std::size_t sequence = 0;
19 static DamageNumberSample sample(const Popup& popup);
20};
21} // namespace eve::graphics
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Owning display request. The caller supplies actual committed amounts, never pending damage.
Independent owning frame sample, useful for observation and alternative renderers.
Owning style copied into each popup at spawn. Coordinates are drawable pixels.
std::array< DamageNumberStyle, 4 > styles
static DamageNumberSample sample(const Popup &popup)