# LIBGDX - group as child of an actor?

I've looked in forums, the doc, and the code, and I'm thinking this isn't currently possible, but maybe I'm missing something, so just to be sure: is there a way to set a group as child of and actor? or, in other words, how do I create a hierarchy of actors?

I'm trying to make sorta of a strategic game, and I have things like "empires", "kingdoms", ""cities", "buildings", "people", "objects", and I thought initially that maybe would be a good idea make these things actors. But I can't find anything like addActor inside Actor class, or addGroup, it seems there is no way for "kingdoms" to have"cities", for "cities" to have "buildings", for actors to have child actors or child groups.

• Why not just have the actors be Groups? Group extends from Actor so you will still have the same basic functionality. Jan 1 '18 at 0:11
• You're right. I didn't think of that. I guess it sounds kind of weird, technically "buildings" are not a group of "persons", and a "person" is not a group of "items", but it can work anyway, so I'm going with this way. Thanks! And have a great year. Jan 1 '18 at 17:42