raylib-cpp
C++ object-oriented wrapper library for raylib.
raylib-cpp-utils.hpp
1
4#ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
5#define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
6
7#ifndef GETTERSETTER
15#define GETTERSETTER(type, method, name) \
16 \
17 inline type Get##method() const { return name; } \
18 \
19 inline void Set##method(type value) { name = value; }
20#endif
21
22#endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_