Search:

Type: Posts; User: goodguy

Search: Search took 0.21 seconds.

  1. Re: Abstract methods. What are they for? And when it's necessary to use them?

    Very good reply.

    As I'm just a beginner in Java, and I didn't get used to using any of these approaches, I'll follow your advice and try to get myself used to doing everything the right way :)
  2. Re: Abstract methods. What are they for? And when it's necessary to use them?

    Isn't there a way to check what type of object it is?

    If I do it in AS3 I typically use something like this:


    if (myArray[0] is MovieClip) {
    trace("I found a movie clip object");
    }...
  3. Re: Abstract methods. What are they for? And when it's necessary to use them?

    Ah, I got it now. Thanks a lot!

    Seems like I couldn't get it at first 'cause I got use to programming in ActionScript 3 which can push any types of object into the same array, so there's no need...
  4. Re: Abstract methods. What are they for? And when it's necessary to use them?

    Ok, but what if you just extend guessinggame without any abstract methods, and just create those methods from scratch in normal and test game classes? Wouldn't it do the same job?
  5. [Resolved] Abstract methods. What are they for? And when it's necessary to use them?

    Hi, first of all I'd like to wish a Merry Christmas and a Happy New Year to all who celebrates these holidays.

    And now, to my question.
    I'm watching video tutorials from bucky, and I just can't...
Results 1 to 5 of 5