Maurits825 / AFKScape

A game that simulates playing the game Old School RuneScape at a faster pace! Developed in Unity using C#.
1 stars 0 forks source link

Move initialize functions to class constructor #94

Closed Maurits825 closed 3 years ago

Maurits825 commented 4 years ago

Instead of the classes having an init function with class dependencies as arguments, put this in the constructor so that the class can only be instantiated with the dependencies already initialized.