make accessors const, add comments

This commit is contained in:
Emil Tin
2014-08-20 11:37:47 +02:00
parent 2e3d33dfcd
commit bcd55626ef
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef TRAVEL_MODE_H
#define TRAVEL_MODE_H
typedef unsigned char TravelMode;
using TravelMode = unsigned char;
static const TravelMode TRAVEL_MODE_INACCESSIBLE = 0;
static const TravelMode TRAVEL_MODE_DEFAULT = 1;