get nodeset

This commit is contained in:
Frank DeMarco 2014-02-22 12:58:41 +09:00
parent b99f66019a
commit 118fdfcad8
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ class Interpolator(list, GameChild):
def is_gui_active(self):
return self.gui_enabled and self.gui.active
def get_nodeset(self, name):
for nodeset in self:
if nodeset.name == name:
return nodeset
class Nodeset(list):