Commit 5855126c authored by CjhGm's avatar CjhGm
Browse files

go

parent 9577f5f3
......@@ -190,6 +190,7 @@
<ClInclude Include="AircraftBattle.h" />
<ClInclude Include="AircraftBattleDlg.h" />
<ClInclude Include="AircraftMain.h" />
<ClInclude Include="CGameObject.h" />
<ClInclude Include="framework.h" />
<ClInclude Include="pch.h" />
<ClInclude Include="Resource.h" />
......@@ -199,6 +200,7 @@
<ClCompile Include="AircraftBattle.cpp" />
<ClCompile Include="AircraftBattleDlg.cpp" />
<ClCompile Include="AircraftMain.cpp" />
<ClCompile Include="CGameObject.cpp" />
<ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
......
......@@ -36,6 +36,9 @@
<ClInclude Include="AircraftMain.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="CGameObject.h">
<Filter>头文件</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="AircraftBattle.cpp">
......@@ -50,6 +53,9 @@
<ClCompile Include="AircraftMain.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="CGameObject.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="AircraftBattle.rc">
......
#include "pch.h"
#include "CGameObject.h"
CGameObject::CGameObject(int x, int y) {
point.x = x;
point.y = y;
}
\ No newline at end of file
#pragma once
#include <afx.h>
class CGameObject : public CObject
{
protected:
CPoint point;
public:
CGameObject(int x, int y);
};
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment