File: Direction.h

package info (click to toggle)
jazz2-native 3.5.0-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 16,912 kB
  • sloc: cpp: 172,557; xml: 113; python: 36; makefile: 5; sh: 2
file content (21 lines) | stat: -rw-r--r-- 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "../Main.h"

namespace Jazz2
{
	/** @brief Direction, supports a bitwise combination of its member values */
	enum class Direction
	{
		None = 0,							/**< None */

		Up = 0x01,							/**< Up */
		Down = 0x02,						/**< Down */
		Left = 0x04,						/**< Left */
		Right = 0x08,						/**< Right */

		Any = Up | Down | Left | Right		/**< Any */
	};

	DEATH_ENUM_FLAGS(Direction);
}