element.h
来自「一个红蓝绿游戏」· C头文件 代码 · 共 30 行
H
30 行
// Element.h: interface for the Element class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ELEMENT_H__FCD2A367_F578_49D3_863B_D0F1082AE55B__INCLUDED_)
#define AFX_ELEMENT_H__FCD2A367_F578_49D3_863B_D0F1082AE55B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class Element
{
public:
void SetZ(int z);
void SetY(int y);
void SetX(int x);
int GetZ()const;
int GetY()const;
int GetX()const;
Element(int x= 0,int y = 0,int z = 0);
virtual ~Element();
private:
int X;
int Y;
int Z;
};
#endif // !defined(AFX_ELEMENT_H__FCD2A367_F578_49D3_863B_D0F1082AE55B__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?