资源简介

简单的C++雷霆战机,适合初学者学习 面向对象的思想,没有复杂的函数和框架,图形绘制引用easyx库

资源截图

代码片段和文件信息

#include“Bomb.h“

void Bomb::Move()
{
m_radius += m_step;
if(m_radius > (m_order * 2*m_step) )
m_bDisappear = true;

}

void Bomb::Display()
{
COLORREF linecolor = getlinecolor();
COLORREF fillcolor = getfillcolor();

setcolor(RED);
setfillcolor( m_color);

fillcircle(m_pos.GetX()m_pos.GetY() m_radius);


setcolor(linecolor);
setfillcolor( fillcolor);
}


bool Bomb::IsDisappear()
{
return m_bDisappear;
}

void Bomb::SetOrder(int order)
{
m_order = order;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-10-20 21:28  ThunderFighter\ThunderFighter\
     目录           0  2017-10-20 20:27  ThunderFighter\ThunderFighter\Debug\
     文件      236032  2017-10-20 21:27  ThunderFighter\ThunderFighter\Debug\ThunderFighter.exe
     文件     1856216  2017-10-20 21:27  ThunderFighter\ThunderFighter\Debug\ThunderFighter.ilk
     文件     1707008  2017-10-20 21:27  ThunderFighter\ThunderFighter\Debug\ThunderFighter.pdb
     目录           0  2017-10-20 21:18  ThunderFighter\ThunderFighter\ipch\
     目录           0  2017-10-20 21:24  ThunderFighter\ThunderFighter\ipch\thunderfighter-29e31fe2\
     文件    46465024  2017-10-20 21:24  ThunderFighter\ThunderFighter\ipch\thunderfighter-29e31fe2\thunderfighter-76356dcf.ipch
     文件    32133120  2017-10-20 21:28  ThunderFighter\ThunderFighter\ThunderFighter.sdf
     文件         909  2017-10-17 11:26  ThunderFighter\ThunderFighter\ThunderFighter.sln
     文件       36864  2017-10-20 21:28  ThunderFighter\ThunderFighter\ThunderFighter.suo
     目录           0  2017-10-20 15:35  ThunderFighter\ThunderFighter\ThunderFighter\
     文件         511  2017-10-20 20:14  ThunderFighter\ThunderFighter\ThunderFighter\Bomb.cpp
     文件         519  2017-10-20 15:15  ThunderFighter\ThunderFighter\ThunderFighter\Bomb.h
     文件        1508  2017-10-20 15:22  ThunderFighter\ThunderFighter\ThunderFighter\Bullet.cpp
     文件         474  2017-10-20 15:25  ThunderFighter\ThunderFighter\ThunderFighter\Bullet.h
     目录           0  2017-10-20 21:27  ThunderFighter\ThunderFighter\ThunderFighter\Debug\
     文件       35346  2017-10-20 20:18  ThunderFighter\ThunderFighter\ThunderFighter\Debug\Bomb.obj
     文件       97544  2017-10-20 16:31  ThunderFighter\ThunderFighter\ThunderFighter\Debug\Bullet.obj
     文件       10442  2017-10-20 21:27  ThunderFighter\ThunderFighter\ThunderFighter\Debug\cl.command.1.tlog
     文件      180546  2017-10-20 21:27  ThunderFighter\ThunderFighter\ThunderFighter\Debug\CL.read.1.tlog
     文件       30694  2017-10-20 21:27  ThunderFighter\ThunderFighter\ThunderFighter\Debug\CL.write.1.tlog
     文件      145073  2017-10-20 21:02  ThunderFighter\ThunderFighter\ThunderFighter\Debug\EnemyBoss.obj
     文件      135257  2017-10-20 21:08  ThunderFighter\ThunderFighter\ThunderFighter\Debug\EnemyOne.obj
     文件      135837  2017-10-20 21:07  ThunderFighter\ThunderFighter\ThunderFighter\Debug\EnemyThree.obj
     文件      144410  2017-10-20 19:59  ThunderFighter\ThunderFighter\ThunderFighter\Debug\EnemyTwo.obj
     文件       34019  2017-10-20 16:31  ThunderFighter\ThunderFighter\ThunderFighter\Debug\Graphics.obj
     文件           2  2017-10-20 21:27  ThunderFighter\ThunderFighter\ThunderFighter\Debug\link.10464.read.1.tlog
     文件           2  2017-10-20 21:27  ThunderFighter\ThunderFighter\ThunderFighter\Debug\link.10464.write.1.tlog
     文件           2  2017-10-20 21:27  ThunderFighter\ThunderFighter\ThunderFighter\Debug\link.10464-cvtres.read.1.tlog
     文件           2  2017-10-20 21:27  ThunderFighter\ThunderFighter\ThunderFighter\Debug\link.10464-cvtres.write.1.tlog
............此处省略93个文件信息

评论

共有 条评论