public static function getRandomNumber($x, $y) { /* srand (abs (10000 - ( $x * 1000) + $y) + RANDMAPFACTOR); return rand (-10000, 10000) / 10000; */ return (Dolumar_Map_Map::getRandom($x, $y, 20000) - 10000) / 10000; }
protected function getRandom($base) { return Dolumar_Map_Map::getRandom($this->x(), $this->y(), $base); }