shieldpartprojectile.h
来自「这是整套横扫千军3D版游戏的源码」· C头文件 代码 · 共 29 行
H
29 行
#ifndef SHIELDPARTPROJECTILE_H
#define SHIELDPARTPROJECTILE_H
#include "Sim/Projectiles/Projectile.h"
struct AtlasedTexture;
class CShieldPartProjectile :
public CProjectile
{
CR_DECLARE(CShieldPartProjectile);
public:
CShieldPartProjectile(const float3& centerPos,int xpart,int ypart,float size,float3 color,float alpha, AtlasedTexture *texture,CUnit* owner);
~CShieldPartProjectile(void);
void Draw(void);
void Update(void);
float3 centerPos;
float3 vectors[25];
float3 texCoords[25];
float sphereSize;
float baseAlpha;
float3 color;
};
#endif // SHIELDPARTPROJECTILE_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?