Request for program proof reading

Hey guys I have a project Im working on and Ive just gotten into methods and in general I seem to be getting them to work but Im having trouble when the methods are sharing between non-main classes. My wording of that is a little strange but I think if someone would be willing to look at the project, especially when I try to transfer values between the Enemy to the Fight class you might be able to understand what Im saying. Im attatching a link to a zip file with the project in it, if someone wold mind "proof reading" it, it would be greatly appreciated. Thanks
http://www.mediafire.com/?0bxat49nzxo
Edited by: paranoiapenguins on Nov 8, 2007 2:02 PM

Are you doing this for a class or to try to learn on your own? I've peeked at it (what can I say, I'm a masochist), and it's a nice start, but it can be improved upon. In fact you should rethink your object design from the ground up.
First off, you need to think of your objects as physical entities, entities that have characteristics can do things and can interact with other objects. For instance, you need a Player class that represents the character controlled by the person playing the game. A player object will hold all of its own characteristics, will be able to fight other enemy objects, will be able to be manipulated by the user. You probably need to have an Enemy class, and then subclass this into the various different kinds of enemy such as Troll, Black Knight, and minion.... etc. You might want to have a Game object, an object that holds the player, the enemy, and controls the flow of the game.
You would do well to buy and read a good book on OOP design.

Similar Messages

  • In which database table we can find the Transport request for programs?

    Hi i have  set of programs , for them i have to find the transport request , please guide me in this
    thanks in advance

    Hi Sitaram,
    If you happend to be one of those who forgot the transport request number of your abap program.
    You can easily find it via the Versions Management.
    Steps :-
    Transaction SE38
    Filled in your ABAP program name.
    Then click Utilities -> Versions -> Version Management
    SAP system will display this sample list :- 
    Versions: Report source ZPROGRAM
    Version Cat Fla SAP Rel. Arch Request              Date       Time     Author
    Version(s) in the development database:
    X activ          X  46X                                      01.08.9999 15:21:56 SAP
    Version(s) in the version database:
    X 00002             46X        ABCD123456      01.08.9999 15:52:43 SAP
    X 00001  S    X  46X                                     00.00.0000 00:00:00
    Kindly Reward Points If You Found The Reply Helpful,
    Cheers,
    Chaitanya.

  • Documentation requested for Program Enrollment

    Hi, i enrolled for the iPhone Developer Program, but im stuck in the phase where i have to fax ( +1 (408) 974-1053 ) the enrollmentID and documtations about company.. unfortunately the fax is always busy!
    It's whole day im trying to send it, but nothing.
    Does exist another fax number?
    ps: im from italy.

    Hi everyone,
    I started following the enrollment registration process as an agency developer. Then I received this mail from Apple which says to send them the documentation needed for my program enrollment, adding this last point in the end of the mail:
    "If we do not receive your information within the next seven (7) days, we will assume you are no longer interested in continuing your enrollment and will withdraw your request."
    Unfortunately more then 7 days passed by. In fact I see right now in my Program Summary section that my Developer Program Status shows a yellow triangle icon with a red written line:
    "Enrollment Pending"
    I don't know the exact meaning of that.
    Does it mean my registion has been quitted? So do I have to enroll with a new Apple Developer profile, with new e-mail and new password?
    One more thing.
    I didn't send yet documents requested, so should i send them holding this first account or should I enroll with a new one then send all documents needed?
    Thanks a lot!
    MF

  • Good morning a few weeks ago  I send the request for the replacement program of my ipod nano 1st generation and they sent me the shipping box but I did not get the label to go back,  and I can not  return it , i need to you sent me again the box for retu

    Good morning a few weeks ago  I send the request for the replacement program of my ipod nano 1st generation and they sent me the shipping box but I did not get the label to go back,  and I can not  return it , i need to you sent me again the box for return the ipod

    Best thing would be to call Apple up again, and let them what has happened and they'll help you!

  • I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    Hello,
    You mention that you send a string to the microprocessor that tells it how many bytes to send. Instead of requesting 512 bytes, try reading 10 times and only requesting about 50 bytes at a time.
    If that doesn�t help, try directly communicating with your microprocessor through HyperTerminal. If you are not on a Windows system, please let me know. Also, if you are using an NI serial board instead of your computer�s serial port, let me know.
    In Windows XP, go to Start, Programs, Accessories, Communications, and select HyperTerminal.
    Enter a name for the connection and click OK.
    In the next pop-up dialog, choose the COM port you are using to communicate with your device and click OK.
    In the final pop
    -up dialog, set the communication settings for communicating with your device.
    Type the same commands you sent through LabVIEW and observe if you can receive the first 54 bytes you mention. Also observe if data is returned from your 512 byte request or if HyperTerminal just waits.
    If you do not receive the 512 byte request through HyperTerminal, your microprocessor is unable to communicate with your computer at a low level. LabVIEW uses the same Windows DLLs as HyperTerminal for serial communication. Double check the instrument user manual for any additional information that may be necessary to communicate.
    Please let me know the results from the above test in HyperTerminal. We can then proceed from there.
    Grant M.
    National Instruments

  • Driver program for (request for quotation) /SMB40/MMRFQ_A smart form

    Dear friends,
    I found a standard smartform for request for quotation ie /SMB40/MMRFQ_A..but i am unable to find a driver program for this standard form..
    Also checked in TNAPR table and nace t code for driver program.
    pls tell me the driver prog for the above SF..
    Regards.
    Vinod

    Ok. That is because standard smartforms are not coming part of the package. You either install an ADD-On related to the preconfigured smartforms. If you have access to service.sap.com, you can download the preconfigured smartforms.
    The other option is to Migrate Script to Smartforms from Smartforms tcode...in MenuUtilities>Migration/
    After migration, you will get the layout....and you have to change the smartform from scratch.
    Vishwa.

  • I want parameters with f4 help for program names in value request

    I want parameters with f4 help for program names in value request
    points will be awarded if  useful

    lv_name1 TYPE name1,        "Vendor Name
    CALL FUNCTION 'POPUP_TO_SEARCH_VALUE'
        EXPORTING
          textline1   = 'Vendor Name'(f09)
          titel       = 'Enter'(f17)
          valuelength = 35
        IMPORTING
          value       = lv_name1.
    try this out ..

  • Firefox has detected the server is redirecting the request for this address in a way that will never complete. This is happening in my email program with comcast but does not happen with IE e

    Question
    firefox has detected the server is redirecting the request for this address in a way that will never complete. This is happening in my email program with comcast but does not happen with IE e edit

    Thanks to cor-el for the suggestion given in the link. Sadly I have to report:
    1) It is not a bookmark problem and it makes no difference whether I put
    www.adobe.com or 192.150.18.117 in the address bar.
    2) Cookies are allowed and there are no exceptions set
    3) All cookies have been deleted
    4) network.http.sendRefererHeader is already set to 2
    That deals with the items in the linked document.
    Additional information:
    5) I can get into the adobe site from a clean "in memory" installation of PuppyLinux using Seamonkey using the same router and dhcp setup.
    6) un-installing all Mozilla products - rebooting and re-installing makes no difference even when I remove the mozilla folder from docs&settings.
    so as I said in previous post (as annonymous) not a lot makes sense.
    Bear in mind that I have no problem running tracert in a command window
    Tracing route to www.adobe.com [192.150.18.117] over a maximum of 30 hops:
    1 11 ms 10 ms 9 ms 10.0.0.1
    2 13 ms 12 ms 11 ms glo-2-dsl.as9105.net [212.74.111.191]
    3 13 ms 12 ms 11 ms ge1-2-27.glo0.as9105.net [212.74.106.106]
    4 14 ms 12 ms 13 ms pos0-0.bri1.as9105.net [212.74.108.162]
    5 17 ms 16 ms 17 ms ge0-0-0.he-lon0.as9105.net [212.74.109.14]
    6 17 ms 17 ms 16 ms 10.72.11.75
    7 16 ms 17 ms 17 ms xe-0-3-0-10.lon20.ip4.tinet.net [213.200.77.177]
    8 91 ms 92 ms 99 ms xe-5-1-0.was12.ip4.tinet.net [89.149.184.34]
    9 92 ms 92 ms 93 ms xe-0.equinix.asbnva01.us.bb.gin.ntt.net [206.223.115.12]
    10 162 ms 170 ms 162 ms as-3.r20.snjsca04.us.bb.gin.ntt.net [129.250.2.167]
    11 166 ms 166 ms 165 ms ae-1.r07.snjsca04.us.bb.gin.ntt.net [129.250.5.53]
    12 162 ms 163 ms 161 ms xe-0-2-0-3.r07.snjsca04.us.ce.gin.ntt.net [128.241.219.86]
    13 166 ms 163 ms 161 ms 192.150.18.11
    14 166 ms 166 ms 165 ms www.adobe.com [192.150.18.117]
    Trace complete.
    and I can ping the site.
    so where now ?

  • Why is execution of program requesting for u0093Output Deviceu0094? Donu0092t need to p

    Hi,
    I am executing “Activate Technical Content in SAP NetWeaver BI” in SPRO to activate Technical contents. The instruction directs that I do this in the background, so from the menu:
    Program, “Execute in Background”
    But from here, a popup window shows up “Background Print Parameters” and needs me to make an entry for  “Output Device”.
    Is this really requesting for a printer name?
    I don’t need to print anything. What do I do from here to execute this in the background?
    Thanks

    Hi,
    So, I just run it. How do I know know that it is really running?
    I don't see it in sm50 nor sm21. How do I confirm that it is running?
    Thanks

  • How to create second transport request for same programe

    Hello ,
    I created workbench transport request. The changes are done and still in development system.
    Now I have to do another change on the same program that has to be in different transport request,
    but whenever I  change something, and activate it, the changes are saved in first transport. How I can
    create another transport request for the same program without releasing the first one.
    Thanks

    Ask your basis team to provide you with a "Transport of Copies" request.
    Once you get it, add your object in this request and transport. your object will be transported and the original request will not be released. Do note that the changes will still be saved in the original request but you can still transport your object without releasing the original request.
    Edited by: Priyank Jain on Aug 12, 2010 4:12 AM

  • I need program for iMac to read the arabic subtitle of movies

    what is the best subtitle program for imac to read the arabic subtitle for movies ?

    Hello, Are you using DVD Player, or what?
    Is Arabic enabled in Languages?

  • Smartform Driver Program for Purchase Order & Request For Quotation

    Hi All,
    We are in ECC 6.0 EHP 4
    I am unable to find Driver Program /SMB40/FM06P for Smartform
    Purchase order  = SMB40/MMPO_L.
    Request For Quoation = /SMB40/MMRFQ_L
    So can anyone help me how to get the Driver Program into my SAP system.
    Regards
    Rakesh

    We had a similar problem... The package /SMB40/ is not installed by default with the ECC 6.0 system, so your Basis team should install it now.
    See this thread for more information, I hope it can be useful for you.
    /SMB40 and /SMB11

  • How to assign a new  transport request for  a program saved in $tmp mode

    Hi  all,
    How to assign a new  transport request for  a program saved in $tmp mode?

    Hi,
    delete the object fro the package $tmp.
    go to change mode, save it.
    while saving it will ask for teransport id.
    thanks
    vinod

  • Looking for an E-Reader

    I run a book review blog, and while I don't usually review e-books, I've noticed that most of my review requests (from authors or independent publishers) are offering digital only. In the past I've used free programs such as Kindle for PC and Adobe Digital Editions. I tend to prefer the Kindle program, but it doesn't accept all formats (PDF), so I'm stuck with either a converted mess or using Adobe for some books. But I've decided it's time for a change - it's time for an e-reader. Honestly, I'm kinda leaning towards a Kindle at the moment. I've used the PC software for about a year now, and other than the PDF issues (which I don't know if there's a better option) I don't have any huge problems. I already have a lot of free books downloaded, and I'm sure I'll run across other freebees regularly. Plus my library already offers a large selection of e-books in the Kindle format! So here's my checklist: - Price - Not able to spend tons right now. - Weight/Size - Not a huge issue for me, actually. - Ease-of-Use - I'm pretty tech-savvy, so unless it's a nightmare to use, I should be fine. - Loyalty/Format - I'm not really loyal to one company over another. But when it comes to formats, how much of a pain is it going to be getting the right book format? - Memory - I'm not planning on replacing my library, this will be primarily for review requests that aren't available in print. - Touch or Not? - Is touch worth it for ease? Or is it a stress headache waiting to happen if it gets scratched? - Durability - Along the same lines as above, I'm pretty careful with my things and I'm not typically clutzy, but will I need a force-field around this thing? - Gadgets - I don't need tons of bells and whistles, but I won't turn them down either. Not really looking at 3G, video, or net-browsing, though music might be a plus... - Extras - Do I need to budget in for extras to get full use out of this? I don't foresee a need for an adapter, but will I need/want a case, light, etc.? Any help?

    To be honest, you are better off using a computer and this software:
    http://calibre-ebook.com/
    It will convert ebook formats...if you buy a reader, you are committed to that environment.  WIth the above and a computer, you can install the PC version of your favorite ereader and use the software to convert other formats to it. 
    If you find my post useful or informative, please click the icon below with the plus sign and star to give kudos. Thank you!

  • Request for code !!

    request for code
    needs a code (which ,copies  the file on your computer (it copies the file to which it will path  in TextBox1)
    and is pasted file in the folder: C: \ Program Files \ RunerBat \ Backup
    and needs code ,which when clicked, "button2" opens "savefiledialog" and writes text with richtextbox1 as .bat ,,,
    but stores only when you click button1, it comes to me more about the button "select path the record"

    This forum is not for ordering code.
    Try it yourself. Read the documentation. It is grouped by topic.
    .NET Framework Development Guide
    To your question related these sub topics:
    File and Stream I/O
    SaveFileDialog Component (Windows Forms)
    Button Control (Windows Forms)
    Creating Event Handlers in Windows Forms
    If you have a specific problem, post the code you wrote and which question you have.
    Armin

Maybe you are looking for