- [NEW] Selecció de actors en l'editor amb el ratolí

This commit is contained in:
2024-07-11 08:25:34 +02:00
parent b794ebe608
commit c4cbda9b23
5 changed files with 185 additions and 166 deletions

View File

@@ -100,8 +100,12 @@ namespace actor
int inner_x;
int inner_y;
int tag;
};
void resetTag();
// Torna el primer actor de la llista
actor_t *getFirst();
@@ -140,6 +144,8 @@ namespace actor
actor_t *find(std::string name);
actor_t *findByTag(const int tag);
actor_t *find_at(const int x, const int y, const int z);
actor_t *get_collision(actor_t *act);