Browse Source

Imported remaining game/gbe modules and fixed syntax bug in node.

master
Bryan Miller 6 years ago
parent
commit
387ca30bcb
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      game/gbe/__init__.py
  2. +1
    -1
      game/gbe/nodes.py

+ 2
- 0
game/gbe/__init__.py View File

@@ -1,2 +1,4 @@
from .core import Time
from .core import Display
from . import events
from . import nodes

+ 1
- 1
game/gbe/nodes.py View File

@@ -67,7 +67,7 @@ class Node:
if node.parent is not None:
if node.parent == self:
return # Nothing to do. Given node already parented to this node.
if reparent = False:
if reparent == False:
raise NodeError("Node already parented.")
if node.parent.remove_node(node) != node:
raise NodeError("Failed to remove given node from it's current parent.")

Loading…
Cancel
Save