mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
27 lines
418 B
C++
Executable File
27 lines
418 B
C++
Executable File
#ifndef MXPOINT32_H
|
|
#define MXPOINT32_H
|
|
|
|
#include "mxtypes.h"
|
|
|
|
class MxPoint32 {
|
|
public:
|
|
MxPoint32() {}
|
|
MxPoint32(MxS32 p_x, MxS32 p_y)
|
|
{
|
|
this->m_x = p_x;
|
|
this->m_y = p_y;
|
|
}
|
|
|
|
inline MxS32 GetX() const { return m_x; }
|
|
inline MxS32 GetY() const { return m_y; }
|
|
|
|
inline void SetX(MxS32 p_x) { m_x = p_x; }
|
|
inline void SetY(MxS32 p_y) { m_y = p_y; }
|
|
|
|
private:
|
|
MxS32 m_x;
|
|
MxS32 m_y;
|
|
};
|
|
|
|
#endif // MXPOINT32_H
|