Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/editorwindow.cc')
-rw-r--r--src/editorwindow.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/editorwindow.cc b/src/editorwindow.cc
index 2423cff..c0f5e41 100644
--- a/src/editorwindow.cc
+++ b/src/editorwindow.cc
@@ -242,5 +242,20 @@ bool EditorWindow::saveFile(const QString &filename)
}
+void EditorWindow::addEntity()
+{
+ EntityWidget *entitywidget = editorwindow_mapwidget->addEntity();
+ entitywidget->properties()->set_type("entity");
+}
+
+void EditorWindow::duplicateSelected()
+{
+ editorwindow_mapwidget->duplicateSelected();
+}
+
+void EditorWindow::deleteSelected()
+{
+ editorwindow_mapwidget->duplicateSelected();
+}
}