DaweMolnar / sdl-tetris

Tetris in SDL2
GNU General Public License v3.0
0 stars 0 forks source link

Create Logic interfaces #9

Closed DaweMolnar closed 6 years ago

DaweMolnar commented 6 years ago

Split to active, and passive Logic. You can pass PassiveLogic to NWCController. It only shows the received table, do nothing for other functions, and when addLine called, it is saved, and sent through network later (gettable). Current mana, games won is settable. Make function thats only called when line added through enemy line cleaning.