|
@@ -211,7 +211,7 @@ public class GUI implements CategoryListener {
|
|
|
try {//wenn ein bild "gedraged" wird
|
|
|
if (dragging) {
|
|
|
//neues Object
|
|
|
- HolonObject h = new HolonObject((HolonObject)tempCps);
|
|
|
+ CpsObject h = new CpsObject(tempCps);
|
|
|
h.setPos((int) canvas.getMousePosition().getX(), (int) canvas.getMousePosition().getY());
|
|
|
controller.addObject(h);
|
|
|
canvas.repaint();
|