mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
71ed20bf11
* Implement/match rest of MxSmkPresenter * Fix include guard * Update mxregion.cpp * Match MxRegion::VTable0x18 * Fix * Fix matches * Remove class name
32 lines
516 B
C++
Executable file
32 lines
516 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;
|
|
}
|
|
|
|
MxPoint32(const MxPoint32& p_point)
|
|
{
|
|
this->m_x = p_point.m_x;
|
|
this->m_y = p_point.m_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
|