crystalspace.jbind.impl.engine.movable
Class csMovableListener

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
          extended bycrystalspace.jbind.impl.engine.movable.csMovableListener
All Implemented Interfaces:
iBase, iJPointer, iMovableListener, iPointer

public class csMovableListener
extends csBase
implements iMovableListener

Author:
Quentin Anciaux

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csMovableListener(iPointer nPointer)
           
 
Method Summary
 java.lang.String getName()
          Return the name of the interface
 int getVersion()
          Return the version of the interface
protected  boolean isNativePointerValidSafe(long pointer)
           
 void movableChanged(iMovable movable)
          The movable has changed.
 void movableDestroyed(iMovable movable)
          The movable is about to be destroyed.
 
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe
 
Methods inherited from class crystalspace.jbind.impl.csNativeObject
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Constructor Detail

csMovableListener

public csMovableListener(iPointer nPointer)
Parameters:
nPointer -
Method Detail

getVersion

public int getVersion()
Description copied from interface: iBase
Return the version of the interface

Specified by:
getVersion in interface iBase
Specified by:
getVersion in class csBase
See Also:
iBase.getVersion()

getName

public java.lang.String getName()
Description copied from interface: iBase
Return the name of the interface

Specified by:
getName in interface iBase
Specified by:
getName in class csBase
See Also:
iBase.getName()

isNativePointerValidSafe

protected boolean isNativePointerValidSafe(long pointer)
Specified by:
isNativePointerValidSafe in class csNativeObject
See Also:
csNativeObject.isNativePointerValidSafe(long)

movableChanged

public void movableChanged(iMovable movable)
Description copied from interface: iMovableListener
The movable has changed. This is called whenever something does UpdateMove() on the movable.

Specified by:
movableChanged in interface iMovableListener
Parameters:
movable -
See Also:
iMovableListener.movableChanged(crystalspace.jbind.interfaces.iengine.movable.iMovable)

movableDestroyed

public void movableDestroyed(iMovable movable)
Description copied from interface: iMovableListener
The movable is about to be destroyed.

Specified by:
movableDestroyed in interface iMovableListener
Parameters:
movable -
See Also:
iMovableListener.movableDestroyed(crystalspace.jbind.interfaces.iengine.movable.iMovable)