def makeSwitch(self, name, x, y):
		switch = Switch(name, self.squareHeight, self.squareWidth)
#		switch.model.setColor(0, 0, 0)
		x,y = self.gridToPos((x,y))
		switch.setPos(x,y)
		return switch