-[NEW] actor::drawAt(), per a pintar un actor on siga (coordenades de pantalla, no isomètriques)

This commit is contained in:
2024-07-07 08:37:08 +02:00
parent f9733da46f
commit 84618348e2
2 changed files with 8 additions and 1 deletions

View File

@@ -965,7 +965,13 @@ namespace actor
if (sign) draw::draw(x,y,5,7,50,120);
}
//int order=0;
void drawAt(actor_t * act, const int x, const int y)
{
act->inner_x = x;
act->inner_y = y;
draw(act, false);
}
void draw(actor_t *act, const bool draw_all)
{
if (!act) return;