PDA

View Full Version : Typecasting?


Simpae
07-03-2013, 10:48 AM
Hi,

I was wondering if there is any kind of typecasting inside of Alice?
I came across the need to use setOpacity on an object returned by the e.getModels() function of the collision event listener.

Maybe I am missing something here, but all I could achieve was to iterate over the models using the SMovableTurnable type (which allowed me to transform the objects but not anything else).

g
simon

djslater107
07-04-2013, 10:43 AM
There is no typecasting form within Alice at this time...

Of course, if you will import your world into Netbeans, you will then have full access to Java, and be able to cast there...

All the best,

clk4suport
12-18-2013, 02:08 AM
Hi there,

Sorry , but there is no typecasting in alice at present time.

Thank You:)