Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Access a Method in a super class from a sub class (http://www.alice.org/community/showthread.php?t=11313)

wbarnum 09-23-2015 09:49 AM

Access a Method in a super class from a sub class
 
If I want to have a method that is part of an object (i.e. Alien) access a method that is part of a super class (i.e. scene), how can I do that?

Edit: This is for Alice 3.25

Thanks,
Bill

MrMoke 09-23-2015 10:38 AM

1 Attachment(s)
This might work:D

wbarnum 09-24-2015 09:51 AM

[QUOTE=MrMoke;56816]This might work:D[/QUOTE]

Worked like a charm. Thanks.

To anyone else who might be reading this, I needed to add a parameter to my function or method that would allow me to access Scene functions or Methods.


All times are GMT -5. The time now is 08:12 AM.

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