Explv Posted February 3, 2017 Author Posted February 3, 2017 3 hours ago, Magarac said: When is more coming? I'll add some more today after work 1
Vilius Posted February 3, 2017 Posted February 3, 2017 23 hours ago, Explv said: Let me know if I have missed anything You know teaching people to use superclass Entity instead of subclasses like RS2Object, NPC, etc. is not really good is it?
Explv Posted February 3, 2017 Author Posted February 3, 2017 7 minutes ago, Vilius said: You know teaching people to use superclass Entity instead of subclasses like RS2Object, NPC, etc. is not really good is it? And why would that be?
Vilius Posted February 3, 2017 Posted February 3, 2017 3 minutes ago, Explv said: And why would that be?
Explv Posted February 3, 2017 Author Posted February 3, 2017 3 minutes ago, Vilius said: 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.
CMDrake Posted February 4, 2017 Posted February 4, 2017 How should i attain a basic knowledge of java before learning this =D
AdnaneSen Posted February 4, 2017 Posted February 4, 2017 17 hours ago, CMDrake said: How should i attain a basic knowledge of java before learning this =D Code academy learn java for starters
whipz Posted February 4, 2017 Posted February 4, 2017 Going to follow this it seems to be updated every few days and its at the stage I need (: thanks mate
TheWind Posted February 5, 2017 Posted February 5, 2017 (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 February 5, 2017 by TheWind