Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Light ID
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Light ID (Read 2590 times)
Gatobot
byte
Posts: 15
Light ID
«
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)
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Light ID
«
Reply #1 on:
October 06, 2013, 10:00:06 pm »
You can't, but you don't have to. Just call dispose() on the light.
Logged
Gatobot
byte
Posts: 15
Re: Light ID
«
Reply #2 on:
October 07, 2013, 05:58:24 am »
sometimes i forgot to spend a few seconds and read well the docs thanks egon
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Light ID