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

📄 globalobjects.cpp

📁 俄罗斯方块3D 程序+源码俄罗斯方块3D(程序+源码
💻 CPP
字号:
/////////////////////////////////////////////////////////////////
//GlobalObjects.cpp
//所有全局对象的声明
/////////////////////////////////////////////////////////////////

#include "CGameState.h"
#include "CBlockPool.h"
#include "CBlockFollowing.h"
#include "CBlockFactory.h"
#include "CGameManager.h"


#include "CAppWnd.h"
#include "CTimer.h"


#include "CMenu.h"
#include "CStatusBar.h"


#include "CD3DApp.h"
#include "CShakingCamera.h"
#include "CSnapshot.h"
#include "CLight.h"
#include "CMaterialManager.h"
#include "CGameRender.h"

//-----------------------------------逻辑层-----------------------------------
CGameState			theGameState;					//游戏状态管理类
CBlockPool			theBlockPool;					//方块池
CBlockFollowing		theBlockFollowing;				//正在落下的方块
CBlockFactory		theBlockFactory;				//对象工厂
CGameManager		theGameManager;					//逻辑总管


//-----------------------------------系统层------------------------------------
CAppWnd				theAppWnd;
CTimer				theTimer;


//---------------------------------用户交互层----------------------------------
CMenu				theMenu;
CStatusBar			theStatusBar;


//-----------------------------------图形层------------------------------------
CD3DApp				theD3DApp;
CShakingCamera		theCamera;
CSnapshot			theSnapshot;
CLight				theLight;
CMaterialManager	theMaterialManager;
CGameRender			theGameRender;

⌨️ 快捷键说明

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