comparison gamestate.py @ 184:9e7f494cc850

Made "str" available in scripts.
author Beliar <KarstenBock@gmx.net>
date Fri, 16 Mar 2012 07:15:08 +0100
parents 7b6aba7839ea
children ab6a0fd1668a
comparison
equal deleted inserted replaced
183:7b6aba7839ea 184:9e7f494cc850
31 self.funcs = { 31 self.funcs = {
32 "__builtins__":None, 32 "__builtins__":None,
33 "meet":self.meet, 33 "meet":self.meet,
34 "met":self.met, 34 "met":self.met,
35 "sqrt":math.sqrt, 35 "sqrt":math.sqrt,
36 "log":math.log, 36 "log":math.log,
37 "str":str,
37 } 38 }
38 self.locals = {} 39 self.locals = {}
39 40
40 41
41 def addObject(self, object_id, map_id, game_object): 42 def addObject(self, object_id, map_id, game_object):