In my opinion I would have used 1 class for all both scrolls, and the item clicking (maybe not the prayer since you have a file for that) but good job none the less id say
|
Now before i get any feedback id just like to say, this isnt my final product and there are always ways you can improve it, but its a good start.
First you want to go to player.java and have your booleans identified.
Spoiler for Player.java:
After you have done that go to playersave.java and save the booleans to the players character files.
Spoiler for Playersave.java:
Now i made a file for my prayer scrolls purely because i wanted to do a custom thing with it but it still works for normal and you can always just change it from being in a file to just being on that item option,
so make a file called DexScroll and ArcaneScroll under model.players
and add these
Spoiler for PrayerScrolls:
Then you want to go to your itemoptionone.java and add the cases, bare in mind these may not be the correct item ids for your game.
Spoiler for Itemoptionone.java:
Lastly you want to go to your clickingbuttons.java and adjust your clicking button for the prayer icons.
Spoiler for ClickingButton.java:
Hope this helped someone or atleast helped them create the version and perfect it a little bit faster. Have a good day .
Last edited by Aaron W; 09-23-2019 at 09:38 PM.
In my opinion I would have used 1 class for all both scrolls, and the item clicking (maybe not the prayer since you have a file for that) but good job none the less id say
Your totally right mate, that is actually a good idea, none the less people can easily create that haha.
if anyone sees this and wants the all in 1 file, just forget dexscroll and arcanescroll and have a file called PrayerScroll and use this code https://pastebin.com/i82QVJWf
Last edited by Aaron W; 09-20-2019 at 12:53 AM.
thx will use!!
Why are you making a seperate class for this if it can be done within itemoptionone
Genuinly curious, is this personal preference or am I missing something?
(Not trying to bash you )
EDIT: nvm, Just saw your comment above it. GJ anyway
Last edited by toMeisteR; 09-23-2019 at 07:34 PM.
if (c.augury = false)
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |