Add ILandChannel.GetLandObject(Vector3 position) as this is a very common input to GetLandObject()

This conforms to the existing ILandChannel.ParcelsNearPoint() method
This commit is contained in:
Justin Clark-Casey (justincc)
2013-03-14 22:56:26 +00:00
parent c09f4ff483
commit c1115e4c2e
4 changed files with 22 additions and 0 deletions

View File

@@ -68,6 +68,11 @@ public class RegionCombinerLargeLandChannel : ILandChannel
RootRegionLandChannel.Clear(setupDefaultParcel);
}
public ILandObject GetLandObject(Vector3 position)
{
return GetLandObject(position.X, position.Y);
}
public ILandObject GetLandObject(int x, int y)
{
//m_log.DebugFormat("[BIGLANDTESTINT]: <{0},{1}>", x, y);