working on parsing ReferencePoint into CurrentIsoPoint

This commit is contained in:
2026-04-07 17:35:30 +03:00
parent 0545adee2a
commit 7e09343035
4 changed files with 31 additions and 18 deletions

View File

@ -23,7 +23,6 @@ public class HitboxRectengleRenderingFunction implements ShapeRenderingFunction
private List<Point> LocalListPointsIso = new ArrayList<Point>();
private List<Point> LocalListPointsCartesian = new ArrayList<Point>();
public List<Point> getLocalListPointsIso() {
return LocalListPointsIso;
}
@ -82,15 +81,13 @@ public class HitboxRectengleRenderingFunction implements ShapeRenderingFunction
nowHitbox.getListPointsIso().addAll(LocalListPointsIso);
nowHitbox.getListPointsCartesian().addAll(LocalListPointsCartesian);
System.out.println("mouseClicked Event 2 TIME: "+LocalTime.now());
/*
* В данном месте при нажатии закрепляющей точки, необходимо вызывать функцию,
* которая будет формировать из текущих декартовых координат:
* 1. Точку старта и ширину с высотой.
* 2. Так же необходимо реализовать слушатель сохранения новых хитбоксов в дерево.
*
* */
notifySubscribers();
//очистка кэша
firstIsoPoint = null;
LocalListPointsIso.clear();
LocalListPointsCartesian.clear();
}
}