(self, size, range, symmetric=False)
return ret
Creates a random terrain map
Creates a random terrain map
Creates a random terrain map
def create_random(self, size, range, symmetric=False):
        """Creates a random terrain map"""
        ret = numpy.random.random_integers(0, range, size)

        if symmetric:
            ret = self.make_symmetric(ret)
        return ret
def create_random ( self , size , range , symmetric = False ) : ret = numpy . random . random_integers ( 0 , range , size ) if symmetric : ret = self . make_symmetric ( ret ) return ret