载入中...
搜索中...
未找到
eve::level_editor::LevelEditorModule类 参考final
Script composition adapter for tile-oriented level authoring. 更多...
#include <LevelEditorModule.h>
类 eve::level_editor::LevelEditorModule 继承关系图:
Public 成员函数 | |
| Module_REG (LevelEditorModule) | |
| std::unique_ptr< level_editing::TileBuffer > | newTileBuffer (int width, int height) const |
| Create an independent GID grid. @ownership Transfers unique ownership to the caller. | |
| std::unique_ptr< level_editing::Brush > | newBrush () const |
| Create a tile brush. @ownership Transfers unique ownership to the caller. | |
| std::unique_ptr< level_editing::EditorHistory > | newHistory () const |
| Create a tile-aware undo history. @ownership Transfers unique ownership to the caller. | |
| std::unique_ptr< level_editing::TileBufferTarget > | newTarget (std::string id, level_editing::TileBuffer *buffer) const |
| Create a non-owning editable target over a tile buffer. | |
| void | bind (editor::EditorSession *session, level_editing::TileBufferTarget *target) const |
| Bind a borrowed tile target to a borrowed editor session. | |
Public 成员函数 继承自 eve::Module | |
| virtual | ~Module () |
| Module. | |
| virtual std::string | getName () const =0 |
| Returns the name. | |
详细描述
Script composition adapter for tile-oriented level authoring.
在文件 LevelEditorModule.h 第 23 行定义.
成员函数说明
◆ bind()
| void eve::level_editor::LevelEditorModule::bind | ( | editor::EditorSession * | session, |
| level_editing::TileBufferTarget * | target | ||
| ) | const |
Bind a borrowed tile target to a borrowed editor session.
在文件 LevelEditorModule.cpp 第 36 行定义.
◆ Module_REG()
| eve::level_editor::LevelEditorModule::Module_REG | ( | LevelEditorModule | ) |
◆ newBrush()
| std::unique_ptr< level_editing::Brush > eve::level_editor::LevelEditorModule::newBrush | ( | ) | const |
Create a tile brush. @ownership Transfers unique ownership to the caller.
在文件 LevelEditorModule.cpp 第 23 行定义.
◆ newHistory()
| std::unique_ptr< level_editing::EditorHistory > eve::level_editor::LevelEditorModule::newHistory | ( | ) | const |
Create a tile-aware undo history. @ownership Transfers unique ownership to the caller.
在文件 LevelEditorModule.cpp 第 27 行定义.
◆ newTarget()
| std::unique_ptr< level_editing::TileBufferTarget > eve::level_editor::LevelEditorModule::newTarget | ( | std::string | id, |
| level_editing::TileBuffer * | buffer | ||
| ) | const |
Create a non-owning editable target over a tile buffer.
- 参数
-
id Stable target identity. buffer Borrowed buffer that must outlive the returned target.
在文件 LevelEditorModule.cpp 第 31 行定义.
引用了 buffer.
◆ newTileBuffer()
| std::unique_ptr< level_editing::TileBuffer > eve::level_editor::LevelEditorModule::newTileBuffer | ( | int | width, |
| int | height | ||
| ) | const |
Create an independent GID grid. @ownership Transfers unique ownership to the caller.
在文件 LevelEditorModule.cpp 第 19 行定义.
该类的文档由以下文件生成:
- src/modules/map/level/editor/LevelEditorModule.h
- src/modules/map/level/editor/LevelEditorModule.cpp
Public 成员函数 继承自