actionscript 3 - extending a Singleton class? -


Is there a way to create a template like a singleton so that when you increase it, the expanded square is also a singleton Class, so can I quickly create a new singleton class, which increases my template singleton class? I'm using ActionScript 3.0 if it matters.

Thank you.

The singleton pattern is designed in such a way that the type should not be inherited. I'm not familiar with the action script, but there is also a single type that is capable of expanding, seems like a mistake

If you were to do this, it would mean that parents and Both types of child can be single examples loaded in the same application. Since the types are, in a multifaceted way, type parent , parent will no longer be a singleton technically.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -