Ready to draw and save round hitboxes. It is necessary to complete the correct loading of round hitbox data
This commit is contained in:
@ -34,6 +34,7 @@ public class EditableCanvas extends JPanel implements MouseListener, MouseMotion
|
||||
hitboxCircleRenderFunct = new HitboxCircleRenderingFunction();
|
||||
drawboxRectengleRenderFunct.subscribe(Project.getInstance()); // подписка: Project получит данные ввиде обьекта Event, содержащий данные drawbox при отрисовке последней точки из 4-х.
|
||||
hitboxRectengleRenderFunct.subscribe(Project.getInstance());
|
||||
hitboxCircleRenderFunct.subscribe(Project.getInstance());
|
||||
addMouseListener(this);
|
||||
addMouseMotionListener(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user