AS3 - Abstract Classes

前端 未结 4 1183
孤城傲影
孤城傲影 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:46

    As long as they don't permit non-public constructors in actionscript, you'd have to rely on run time errors for abstract classes and singletons.

提交回复
热议问题