dl
dl_factory.h 文件参考

资源工厂 更多...

#include <unordered_map>
#include <optional>
#include "dl_type.h"
#include "base/dl_color.h"
#include "io/dl_log.h"
#include "io/dl_file.h"
#include "render/dl_sprite.h"
#include "render/dl_actor.h"
#include "render/dl_font.h"
#include "render/dl_text.h"
#include "render/dl_animation_info.h"
#include "render/dl_animation.h"

浏览该文件的源代码.

class  dl::Factory
 资源工厂,加载、管理、创建各种资源 更多...
 

命名空间

namespace  dl
 

变量

constexpr Size dl::SIZE_SPRITE_DEFAULT = { 32, 32 }
 
constexpr std::string_view dl::STR_PATH_2D = "2d/"
 
constexpr std::string_view dl::STR_PATH_3D = "3d/"
 
Factorydl::g_factory
 

详细描述

资源工厂

版本
1.1
作者
lveyou
日期
21-08-06
注解
精灵是不具名的,存在于精灵表的序列之中。而精灵表具名。
默认精灵与默认演员的隐含名字为“:”。

在文件 dl_factory.h 中定义.