OutpostUniverse / NetFixServer

0 stars 0 forks source link

Fold GameServer::StartServer into constructor #42

Closed Brett208 closed 4 years ago

Brett208 commented 4 years ago

Folding StartServer's functionality into the constructor will simplify how the class is created and tested since it will no longer be possible to call StartServer function multiple times.

Brett208 commented 4 years ago

We can no longer return an error code from StartServer if its funcationality is moved into the constructor. Would it be fine to use exceptions instead of error codes?

I wasn't sure if we were trying to avoid exceptions.

DanRStevens commented 4 years ago

Exceptions would be preferred over error codes.