logic: UndoRedo

UndoRedo working for ActiveTokensMessages
This commit is contained in:
Andreas Stallinger
2015-02-03 10:47:56 +01:00
parent 00f15a2ce3
commit 944554d034
27 changed files with 588 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "component/view/UndoRedoView.h"
#include "component/controller/UndoRedoController.h"
UndoRedoView::UndoRedoView(ViewLayout* viewLayout)
: View(viewLayout, Vec2i(100,100))
{
}
UndoRedoView::~UndoRedoView()
{
}
std::string UndoRedoView::getName() const
{
return "UndoRedoView";
}
UndoRedoController* UndoRedoView::getController()
{
return View::getController<UndoRedoController>();
}