This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
genek
wrote ...
2020/8/29
crab tutorial incompatible class
genek
2020/8/29
#
I'm doing crab tutorial and added Worm class. in this line worm = getObjectsAtOffset(0, 0, Worm.class); I get a compilation error incompatible types no instance of type variable A exists so that List<A> conforms to greenfoot.Actor
genek
2020/8/29
#
nevermind wrong method call it should be worm = getOneObjectAtOffset(0, 0, Worm.class);
You need to login to post a reply.
X