Jump to content

Explv's Scripting 101


Recommended Posts

Posted
3 minutes ago, Vilius said:

:doge:

 

The thing is, if you knew basic Java, like I state as the prerequisite to this tutorial, you would know that in order to use the methods contained in NPC, GroundItem etc. that are not found in the Entity superclass, then you would use the relevant subclass name when storing the instance.

I never mention in this tutorial that you should exclusively use Entity and not the subclass name, I am merely showing the relationship between the different types.

Posted (edited)

Genuinely curious as to why you make every class and method final. I guess its just strange to me because I've never seen it before. Is there any benefit to a practice like this when making scripts?

 

Also great work. Love the layout of the tutorial. Its concise, yet complete.

Edited by TheWind

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...