locked
implements and inherits RRS feed

  • Question

  • User-1982615125 posted

    hi

    how do you use the two. it seems to me that implements only adds placeholders for methods?

    for example i would like to add functionality while keeping the class clean

    such as:

    class player
    implements canwalkaround
    implements candie
    implements canshoot
    end class

    in my case it adds all those methods to my class and it still doesnt use its pre-written code.

    Friday, February 2, 2018 3:49 PM

All replies