brotherhood-of-recursive-descent / tankism

top down panzer game written in golang and ebiten
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Refactor new construction of objects towards factory pattern #61

Open co0p opened 1 year ago

co0p commented 1 year ago

Instead of using the new constructor method for objects it would be better to use a factory pattern. Such as tanksFactory.New(blue, big, pos) to streamline the creation of objects.

Tank factory Item factory map factory