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

📄 sod.h

📁 有个小游戏
💻 H
字号:
#ifndef __SOD_H
#define __SOD_H

/*
	SOD.H

	The CSodEnemy class

	OpenGL Game Programming
	Author: Kevin Hawkins
	Date: 3/30/2001
	Description: The CSodEnemy represents the Sod model
			   enemy. This enemy is considered smarter,
			   but has weaker armor than the Ogre.

*/

#include "enemy.h"
#include "ogro.h"
#include <time.h>

class CSodEnemy : public CEnemy
{
protected:
	void OnProcessAI();
	void OnCollision(CObject *collisionObject);
	void OnPrepare();

public:
	CSodEnemy(CMD2Model * pmd2 = NULL) : CEnemy(pmd2)  { /*Load();*/ }
	//CSodEnemy(float x, float z) { position.x = x; position.z = z; Load(); }
	~CSodEnemy() {}

	void Load();
};


#endif

⌨️ 快捷键说明

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