This site requires JavaScript, please enable it in your browser!
Greenfoot back
rockon411
rockon411 wrote ...

2017/3/25

Access Methods from World

rockon411 rockon411

2017/3/25

#
Is there any way to access a method in an actor subclass method from a world class?
Super_Hippo Super_Hippo

2017/3/25

#
Yes, there is. What kind of method is it? If it is public static, you can use 'ClassName.methodName()'. If it is not static, you need to use 'objectReference.methodName()'.
rockon411 rockon411

2017/3/26

#
Thank you!
You need to login to post a reply.