![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Editor window to edit moves in the move database. More...
#include <MoveEditorWindow.hpp>
Public Types | |
using | OnChange = std::function< void()> |
Callback signature on move change. More... | |
Public Member Functions | |
MoveEditorWindow (core::file::MoveDB &moveDb, const OnChange &onChange) | |
Construct a new Move Editor Window. More... | |
void | open (bl::gui::GUI *parent, core::pplmn::MoveId move) |
Opens the window and populates for the given move. Pass MoveId::Unknown for a new move. More... | |
Editor window to edit moves in the move database.
Definition at line 20 of file MoveEditorWindow.hpp.
using editor::component::MoveEditorWindow::OnChange = std::function<void()> |
Callback signature on move change.
Definition at line 23 of file MoveEditorWindow.hpp.
editor::component::MoveEditorWindow::MoveEditorWindow | ( | core::file::MoveDB & | moveDb, |
const OnChange & | onChange | ||
) |
Construct a new Move Editor Window.
moveDb | The move database |
onChange | Callback for when a move is changed |
Definition at line 97 of file MoveEditorWindow.cpp.
void editor::component::MoveEditorWindow::open | ( | bl::gui::GUI * | parent, |
core::pplmn::MoveId | move | ||
) |
Opens the window and populates for the given move. Pass MoveId::Unknown for a new move.
parent | The parent GUI object |
move | The move to populate for, or Unknown for a new move |
Definition at line 213 of file MoveEditorWindow.cpp.