working on parsing ReferencePoint into CurrentIsoPoint
This commit is contained in:
@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user