Main Menu

Light ID

Started by Gatobot, October 06, 2013, 08:48:06 PM

Previous topic - Next topic

Gatobot

how can i get the id of a light created through the Light class, so i can removed it later from the world with the method removeLight(int number)

EgonOlsen

You can't, but you don't have to. Just call dispose() on the light.

Gatobot

 :o sometimes i forgot to spend a few seconds and read well the docs thanks egon