Alice Community  

Go Back   Alice Community > Alice 3 > How Do I?

Reply
 
Thread Tools Display Modes
Typecasting?
Old
Simpae
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jul 2013
Default Typecasting? - 07-03-2013, 09: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
   
Reply With Quote
Typecasting
Old
djslater107
Administrator
 
Status: Offline
Posts: 144
Join Date: Jan 2007
Default Typecasting - 07-04-2013, 09: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,


Don Slater
Alice Team
Carnegie Mellon University
   
Reply With Quote
Assure
Old
clk4suport
Junior Member
 
Status: Offline
Posts: 12
Join Date: Nov 2013
Location: new delhi
Default Assure - 12-18-2013, 01:08 AM

Hi there,

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

Thank You
   
Reply With Quote
Reply

Tags
collision, type, typecasting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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