Please find a way to separate the Spawn of an hologram from its Creation
DavidTheExplorer opened this issue ยท 1 comments
This is my first opened issue ever so I'm sorry if it will be a little bit long.
Today I ran into a difficulty when I used HologramsAPI::createHologram because it violates the Single Responsibility Principle(it both creates & spawns the hologram).
I have a class that gets an hologram in the constructor and spawn it after some time, it could have been very easy if createHologram did what its name suggested and only created the hologram, instead I had to spend some time to build a wrapper in my project in form of the Builder pattern for the Hologram and each line type - and get the builder pattern in the constructor and then call its spawn() method in my desired time.
Please fix ๐
This issue has been automatically closed because it doesn't follow the issue template.
Please open a new issue and make sure to follow the provided template, fill out the sections without modifying or deleting the existing text.
Templates are necessary to manage the project efficiently, as basic questions don't need to be asked again each time.