www.pudn.com > Movement_VC.rar > Brick.h


///////////////////////////////////////////////////////////////////////////////// 
//	 
// Brick.h: interface for the CBrick class. 
// 
//////////////////////////////////////////////////////////////////////////////// 
// 版权所有(2002) 
// Copyright(2002) 
// 编写者: 向世明 
// Author: Xiang Shiming 
 
 
#ifndef _CBRICK_H 
#define _CBRICK_H 
 
class CBrick   
{ 
public: 
	CBrick(); 
	virtual ~CBrick(); 
 
public: 
	void Whole(CDC* pDC, int x, int y , int nWidth, int nHeight); 
	void LeftCutted(CDC* pDC, int x, int y , int nWidth, int nHeight); 
	void RightCutted(CDC* pDC, int x, int y , int nWidth, int nHeight); 
 
	void SetColor(BYTE byRed, BYTE byGreen, BYTE byBlue); 
 
private: 
	 
	//主体颜色 
	BYTE m_byRed, m_byGreen, m_byBlue; 
 
 
}; 
#endif