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

📄 gameobjtimed.h

📁 基于引擎基础上开发的三维游戏实例“恐怖之战”游戏者可以自爱三维地形上漫游
💻 H
字号:
// GameObjTimed.h: interface for the CGameObjTimed class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GAMEOBJTIMED_H__E9BA3972_5F49_4F44_8652_8BE12C396FBD__INCLUDED_)
#define AFX_GAMEOBJTIMED_H__E9BA3972_5F49_4F44_8652_8BE12C396FBD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <math.h>
#include <vcg/Point3.h>
#include <vcg/Sphere3.h>
#include <vector>
#include <list>

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif


#include "GameObj.h"
using namespace vcg;
using namespace std;
class CGameObjTimed : public CGameObj  
{
public:
	virtual ~CGameObjTimed();
	CGameObjTimed():CGameObj(){}
	CGameObjTimed(const Point3f &_p, const float _a):CGameObj(_p,_a){}
	CGameObjTimed(const Point3f &_p, const float _a, const Point3f &_v):CGameObj(_p,_a,_v){}

	int ttl;
	void Update(int t);
};

#endif // !defined(AFX_GAMEOBJTIMED_H__E9BA3972_5F49_4F44_8652_8BE12C396FBD__INCLUDED_)

⌨️ 快捷键说明

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