⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ball.cpp

📁 程序使用VC++开发 程序涉及DirectDraw,DirectSound的使用 程序功能非常完成
💻 CPP
字号:
// Ball.cpp: implementation of the Ball class.
// 编码: Leezy
// 最后修改日期:5.1
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "sameball.h"
#include "Ball.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Ball::Ball()
{
	iClr=iOsi=iState=0;

}
/*
Ball::Ball(int nClr)
{
	iClr=nClr;
	iOsi=iState=0;

}
Ball::Ball(int nClr,int nState)
{
	iOsi=0;
	iClr=nClr;
	iState=nState;

}
*/
Ball::Ball(int nClr,int nState,int nOsi)
{
	iClr=nClr;
	iOsi=nOsi;
	iState=nState;

}

Ball::~Ball()
{

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -