return _('Box')
def _set_items(self):
- self.items = []
self.items += [Box(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, count=3)]
#self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, count=3)]
self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(.46, 0, -3.95))]
#self.items += [Basketball(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, count=3)]
#self.items += [TeeterTooter(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, count=3)]
+ def _define_test_items(self):
+ self._pos_mgr.register('drag_start_0', (65, 60))
+ self._set_test_item('drag_stop_0', (.42, -3.29))
+ self._set_test_item('drag_stop_1', (.42, -2.18))
+ self._set_test_item('drag_stop_2', (.35, -1.06))
+
def _instr_txt(self):
txt = _('Scene: ') + self.name() + '\n\n'
txt += _('Goal: the left box must hit the right box\n\n')