- Obrer acabat

- Gat acabat
- Abad acabat
This commit is contained in:
2023-09-14 19:49:34 +02:00
parent 556becc51a
commit 5cea9960a2
5 changed files with 8 additions and 3 deletions

View File

@@ -111,10 +111,15 @@ namespace actor
else if (act2->pos.z >= act1->pos.z+act1->size.z) { return false; }
else { return false; }
}
int peiv = 0;
void reorder()
{
anim_frame=(anim_frame+1)%4;
// [TODO] QUE LA VELOCITAT DE ANIMACIÓ SIGA CONFIGURABLE
//if (peiv==2) {
anim_frame=(anim_frame+1)%4;
// peiv=0;
//} peiv++;
while (dirty)
{
if (first)