crystalspace.jbind.interfaces.iengine.light
Interface iLightList

All Superinterfaces:
iBase, iPointer
All Known Implementing Classes:
csLightList

public interface iLightList
extends iBase

This structure represents a list of lights.

Author:
Quentin Anciaux

Method Summary
 int add(iLight obj)
          Add a light.
 int find(iLight obj)
          Find a light and return its index.
 iLight findByID(java.lang.String id)
          Find a light by its ID value (16-byte MD5).
 iLight findByName(java.lang.String Name)
          Find a light by name.
 iLight get(int n)
          Return a light by index.
 int getCount()
          Return the number of lights in this list.
 boolean remove(iLight obj)
          Remove a light.
 boolean remove(int n)
          Remove the nth light.
 void removeAll()
          Remove all lights.
 
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Method Detail

getCount

public int getCount()
Return the number of lights in this list.

Returns:

get

public iLight get(int n)
Return a light by index.

Parameters:
n -
Returns:

add

public int add(iLight obj)
Add a light.

Parameters:
obj -
Returns:

remove

public boolean remove(iLight obj)
Remove a light.

Parameters:
obj -
Returns:

remove

public boolean remove(int n)
Remove the nth light.

Parameters:
n -
Returns:

removeAll

public void removeAll()
Remove all lights.


find

public int find(iLight obj)
Find a light and return its index.

Parameters:
obj -
Returns:

findByName

public iLight findByName(java.lang.String Name)
Find a light by name.

Parameters:
Name -
Returns:

findByID

public iLight findByID(java.lang.String id)
Find a light by its ID value (16-byte MD5).

Parameters:
id -
Returns: