scionaltera / agony-engine

A modern, web based, procedurally generated MUD.
https://agonyengine.com
MIT License
17 stars 5 forks source link

Refactor Bitfields to EnumSets #131

Closed scionaltera closed 6 years ago

scionaltera commented 6 years ago

It turns out that Java has a mechanism to handle flag values, and I didn't have to roll my own. Here are the various pieces that need to be addressed:

ChRoNoN's answer on this SO question is a pretty interesting approach. See also KeaganFouche's answer here.