Revision b2d280c7

View differences:

scout/scoutsim/GUI.py
261 261
        y = y_wx.GetValue()
262 262
        theta = theta_wx.GetValue()
263 263
        name = name_wx.GetValue()
264
        newSc = Scout(x, y, theta, name, self.scouts, self.behaviors)
264
        newSc = Scout(x, y, theta, name, self.behaviors, self.scouts)
265 265
        if (newSc.valid):
266 266
            # successful
267 267
            self.scouts[newSc.name] = newSc

Also available in: Unified diff