Pārlūkot izejas kodu

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

master
Bryan Miller pirms 6 gadiem
vecāks
revīzija
387ca30bcb
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. +2
    -0
      game/gbe/__init__.py
  2. +1
    -1
      game/gbe/nodes.py

+ 2
- 0
game/gbe/__init__.py Parādīt failu

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

+ 1
- 1
game/gbe/nodes.py Parādīt failu

@@ -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.")

Notiek ielāde…
Atcelt
Saglabāt