diff --git a/GameEngine/src/main/java/gameEngine/entites/editorComponents/ComponentView.java b/GameEngine/src/main/java/gameEngine/entites/editorComponents/ComponentView.java index 363d00f..cd78e00 100644 --- a/GameEngine/src/main/java/gameEngine/entites/editorComponents/ComponentView.java +++ b/GameEngine/src/main/java/gameEngine/entites/editorComponents/ComponentView.java @@ -79,12 +79,17 @@ } @Override - protected void draggingAction(float mouseX, float mouseY) { + protected void leftDraggingAction(float mouseX, float mouseY) { sprite.setPosition(mouseX - sprite.getDisplayedWidth() / 2, mouseY - sprite.getDisplayedHeight() / 2); } @Override + protected void rightDraggingAction(float mouseX, float mouseY) { + + } + + @Override public EditorComponent copy() { return this; }