Azumaril$ Posted April 24, 2011 Posted April 24, 2011 Autes oi dio methods ftanoun gia na doulepsei to isBugger kai to setBugger(stin periptosi mas) public boolean isBugger() { return _Bugger; } public void setBugger(boolean Bugger) { _Bugger = Bugger; } ? xriazete tpt alo? Quote
0 Azumaril$ Posted April 25, 2011 Author Posted April 25, 2011 Thn metablith isBugger :) diladi....? episis ksexasa: public boolean _bugger; Quote
0 Xanderॐ Posted April 25, 2011 Posted April 25, 2011 Afou exeis setter kai getter : private boolean _Bugger; den xreiazete na einai public h metablhth. Quote
0 Azumaril$ Posted April 25, 2011 Author Posted April 25, 2011 Afou exeis setter kai getter : private boolean _Bugger; den xreiazete na einai public h metablhth. o ne exeis dikio. :P ok.. auta ta 3 . xriazete tipota alo...? oxi etc? Quote
0 Xanderॐ Posted April 25, 2011 Posted April 25, 2011 Oxi, alla ayto mono tou den exei kapia sxesh me bugs kai etc. Mia metablith einai xoris leitourgikothta pros to paron ( an den prostheseis kai alo kodika diladh ). Quote
0 Azumaril$ Posted April 25, 2011 Author Posted April 25, 2011 Oxi, alla ayto mono tou den exei kapia sxesh me bugs kai etc. Mia metablith einai xoris leitourgikothta pros to paron ( an den prostheseis kai alo kodika diladh ). ne auto zitaw..ti litourgikotita tha tin pros8eso egw: paradigma: an o char exei 500 pvp kserw gw na ginete isBugger(setBugger dld) kai meta an ine bugger px ...gia ginete announcements to onoma tou... gi auto pou lew ine ok? ( kai enoite pos dn exei kamia sxesi me bugs :P ) px sto set: public void setBugger(boolean bugger) { if (bugger){ Announcements.getInstance().announceToAll("Player "+getName()+" has become a bugger"); } else{ Announcements.getInstance().announceToAll("Player "+getName()+" has lose bug status"); } _bugger = bugger; } Quote
Question
Azumaril$
Autes oi dio methods ftanoun gia na doulepsei to isBugger kai to setBugger(stin periptosi mas)
? xriazete tpt alo?
6 answers to this question
Recommended Posts
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.