Jump to content

Multiple classes


Recommended Posts

Posted

In the process of making a quest bot. Using multiple classes to keep control of my code.

Now I am making a method to grab an item in one of my classes, but I cannot call getCamera().toEntity(e);. I am guessing because I am not extending Script, since I have all the imports. If I am correct you are only allowed to extend Script in your main class. Is there a work around?

All the imports are used listed on this page:

https://osbot.org/api/org/osbot/rs07/api/Camera.html

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...