Jump to content

Wanting feedback on my script/code


Tom

Recommended Posts

So would protected be a better options? Or even re adjusting my packages so i dont have to use these modifiers at all?

 

Thanks for pointing it out though, I do feel very clumsy using it a lot, my entire GUI class is utter shit in my opinion

 

You should rethink your design to make the classes less dependent on each other. Using protected/no modifier at all isn't the solution, they should be private. If you need to access them like that, use getters and setters.

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