Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How Do I? (http://www.alice.org/community/forumdisplay.php?f=28)
-   -   Typecasting? (http://www.alice.org/community/showthread.php?t=10141)

Simpae 07-03-2013 09:48 AM

Typecasting?
 
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 09:43 AM

Typecasting
 
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 01:08 AM

Assure
 
Hi there,

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

Thank You:)


All times are GMT -5. The time now is 10:43 PM.

Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.