easyx_framework V1.0.0
基于easyx的c++游戏框架
 
载入中...
搜索中...
未找到
Pair结构体 参考

整数数据对 更多...

#include <Struct.h>

Public 成员函数

 Pair ()
 
 Pair (int x, int y)
 
 Pair (Vector2D vec)
 
bool operator== (const Pair &another) const
 
bool operator!= (const Pair &another) const
 

Public 属性

int x
 
int y
 

详细描述

整数数据对

存储整数

构造及析构函数说明

◆ Pair() [1/3]

Pair::Pair ( )
inline

◆ Pair() [2/3]

Pair::Pair ( int x,
int y )
inline

◆ Pair() [3/3]

Pair::Pair ( Vector2D vec)
inline

成员函数说明

◆ operator!=()

bool Pair::operator!= ( const Pair & another) const
inline

◆ operator==()

bool Pair::operator== ( const Pair & another) const
inline

类成员变量说明

◆ x

int Pair::x

◆ y

int Pair::y