def create_entity(self, *components) -> int:
self._next_entity_id += <NUM_LIT:1><EOL>for component in components:<EOL><INDENT>self.add_component(self._next_entity_id, component)<EOL><DEDENT>return self._next_entity_id<EOL>
Create a new Entity.

        This method returns an Entity ID, which is just a plain integer.
        You can optionally pass one or more Component instances to be
        assigned to the Entity.

        :param components: Optional components to be assigned to the
        entity on creation.
        :return: The next Entity ID in sequence.