Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Exploder.h
Package: g.rar [view]
Upload User: laitongbao
Upload Date: 2021-02-20
Package Size: 8176k
Code Size: 1k
Category:
Shot Game
Development Platform:
Visual C++
- // Exploder.h: interface for the Exploder class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "includeCGL.h"
- #if !defined(AFX_EXPLODER_H__670926AA_DE07_43C4_BEE7_B94E1B3301EC__INCLUDED_)
- #define AFX_EXPLODER_H__670926AA_DE07_43C4_BEE7_B94E1B3301EC__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- extern Particle_Emit* g_explode;
- extern P_Resistance * g_resistance;//碎片阻力
- class Exploder
- {
- public:
- Exploder(float particle_size = 5.f,int numParticles =100,float speed = 400.f);
- Explode(VECTOR3 pos);
- void Reset();//can explode again when doing this
- virtual ~Exploder();
- private:
- Particle_Emit * emit;
- bool exploded;
- float particle_size;
- float speed;
- int numParticles;
- };
- #endif // !defined(AFX_EXPLODER_H__670926AA_DE07_43C4_BEE7_B94E1B3301EC__INCLUDED_)