crystalspace.jbind.interfaces.iengine.portal
Interface iPortalCallback

All Superinterfaces:
iJPointer
All Known Implementing Classes:
csPortalCallback

public interface iPortalCallback
extends iJPointer

When a sector is missing this callback will be called. If this callback returns false then this portal will not be traversed. Otherwise this callback has to set up the destination sector and return true. The given context will be either an instance of iRenderView, iFrustumView, or else 0.

Author:
Java wrapper - Quentin Anciaux, c++ version - http://crystal.sourceforge.net/docs/online/pubapi/structiPortalCallback.php

Method Summary
 boolean traverse(iPortal portal, iBase context)
          Traverse to the portal.
 

Method Detail

traverse

public boolean traverse(iPortal portal,
                        iBase context)
Traverse to the portal. It is safe to delete this callback in this function.

Parameters:
portal -
context -
Returns: