mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
18 lines
291 B
C++
18 lines
291 B
C++
#ifndef XNA_COMMON_COLOR_HPP
|
|
#define XNA_COMMON_COLOR_HPP
|
|
|
|
#include "../default.hpp"
|
|
|
|
namespace xna {
|
|
struct Color {
|
|
constexpr Color() = default;
|
|
|
|
Uint packedValue{0};
|
|
|
|
constexpr bool operator==(const Color& other) const {
|
|
return packedValue == other.packedValue;
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif |