AS3 - Abstract Classes

前端 未结 4 1190
孤城傲影
孤城傲影 2021-02-11 16:52

How can I make an abstract class in AS3 nicely?

I\'ve tried this:

public class AnAbstractClass
{
    public function toBeImplemented():void
    {
                


        
4条回答
  •  一个人的身影
    2021-02-11 17:52

    In AS3 would just use interfaces to make sure all functions are implemented at compile time. I know it different but does the trick for an example such as the one above.

提交回复
热议问题