Beispiel #1
0
    def toggle_display(self, tree = False):
        """Toggle the rendering of this Entity. If hidden it will be shown
        and vise-versa.

        Keyword arguments:
        -- tree: If True then all children of this Entity (and their children
          etc) will be toggled too. (default False)
        """
        Game.toggle_entities_display(self, tree = tree)