mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-17 13:26:01 -05:00
Add path drawing to the API
This commit is contained in:
@@ -212,3 +212,8 @@ void MapView::addMetatileImage(int x, int y, int metatileId, bool setTransparenc
|
||||
if (this->getOverlay(layer)->addImage(x, y, image))
|
||||
this->scene()->update();
|
||||
}
|
||||
|
||||
void MapView::addPath(QList<int> x, QList<int> y, QString color, int layer) {
|
||||
if (this->getOverlay(layer)->addPath(x, y, color))
|
||||
this->scene()->update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user