src/Neuron/GameServer/Map/Managers/MapObjectManager.php
public function getFromLocation (Neuron_GameServer_Map_Location $location)
	{
		$area = new Neuron_GameServer_Map_Area ($location, 1);
		
		$objects = $this->getDisplayObjects ($area);
		$out = array ();
		
		foreach ($objects as $v)
		{
			if ($v->getLocation ()->equals ($location))
			{
				$out[] = $v;
			}
		}
		
		return $out;
	}
public function getFromLocation (Neuron_GameServer_Map_Location $location)
	{
		$area = new Neuron_GameServer_Map_Area ($location, 1);
		
		$objects = $this->getDisplayObjects ($area);
		$out = array ();
		
		foreach ($objects as $v)
		{
			if ($v->getLocation ()->equals ($location))
			{
				$out[] = $v;
			}
		}
		
		return $out;
	}
public function getFromLocation ( Neuron_GameServer_Map_Location $ location ) { $ area = new Neuron_GameServer_Map_Area ( $ location , 1 ) ; $ objects = $ this -> getDisplayObjects ( $ area ) ; $ out = array ( ) ; foreach ( $ objects as $ v ) { if ( $ v -> getLocation ( ) -> equals ( $ location ) ) { $ out [ ] = $ v ; } } return $ out ; }
Return all objects on one specific location
Return all objects on one specific location