A downloadable tool

To see code, go to my Github: https://github.com/iAmSidh108/DP_SingletonPattern

What is Singleton Pattern?

Singleton pattern is one of the most controversial design pattern and people mostly try to avoid this as it has several drawbacks. It is a design pattern which restricts a class to instantiate its multiple objects. It is nothing but a way of defining a class. Class is defined in such a way that only one instance of the class is created in the complete execution of a program or project. It is mostly used when you want your class to be instantiated only once and exist throughout the gameplay.

Leave a comment

Log in with itch.io to leave a comment.