software-challenge / backend

Server, Client und Spiel-Plugins der Software-Challenge Germany
https://www.software-challenge.de
11 stars 10 forks source link

rework(plugin): replace the shapes singleton with a respective enum #274

Closed anarchuser closed 4 years ago

anarchuser commented 4 years ago

I kept a PieceShape.shape returning the previously used map. I also kept a Piece constructor taking Ints (Though the one taking enums should be preferred)

Note: I've started listing the enums here