ogro.h

来自「有个小游戏」· C头文件 代码 · 共 39 行

H
39
字号
#ifndef __OGRO_H
#define __OGRO_H

/*
	OGRO.H

	The COgroEnemy class

	OpenGL Game Programming
	Author: Kevin Hawkins
	Date: 3/30/2001
	Description: The COgroEnemy represents the Ogro model
			   enemy. This enemy is considered "dumb",
			   but has a thicker coat of armor.

*/

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

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

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

	void Load();
};


#endif

⌨️ 快捷键说明

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