Jump to content

Explv's Scripting 101


Explv

Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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