www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Gatobot on October 06, 2013, 08:48:06 pm

Title: Light ID
Post by: Gatobot on October 06, 2013, 08:48:06 pm
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)
Title: Re: Light ID
Post by: EgonOlsen on October 06, 2013, 10:00:06 pm
You can't, but you don't have to. Just call dispose() on the light.
Title: Re: Light ID
Post by: Gatobot on October 07, 2013, 05:58:24 am
 :o sometimes i forgot to spend a few seconds and read well the docs thanks egon