📄 ogro.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -