TileStorm.h

Go to the documentation of this file.
00001 
00002 //
00003 // Das Tank - Copyright (C) 2006, 2007 Windsor Schmidt <windsor@windsorworld.net>
00004 //
00005 // This program is free software; you can redistribute it and/or modify it
00006 // under the terms of the GNU General Public License as published by the Free
00007 // Software Foundation; either version 2 of the License, or (at your option)
00008 // any later version.
00009 //
00010 // This program is distributed in the hope that it will be useful, but WITHOUT
00011 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
00013 // more details.
00014 //
00015 // You should have received a copy of the GNU General Public License along with
00016 // this program; if not, write to the Free Software Foundation, Inc., 59 Temple
00017 // Place, Suite 330, Boston, MA 02111-1307 USA
00018 //
00020 
00021 
00022 #ifndef STDAFX
00023 #include "stdafx.h"
00024 #endif
00025 
00026 #define MAX_PARTICLES 100 
00027 
00037 class TileStorm
00038 {
00039 public:
00040        Vector vPosition;           
00041        Vector vForce;                     
00042        float fSpreadAngle;         
00043        float fFriction;            
00044        int iNumParticles;          
00045        Particle * pParticles;      
00046        float fRandomness;          
00047        float fDecayRate;           
00048 
00049        int iTexture;               
00050 
00051        TileStorm::TileStorm(void); 
00052        TileStorm::TileStorm(Vector vPos, Vector vFce,
00053                                     float fSAngle, float fFric,
00054                                     float fRand, int iParticles, int tex); 
00055        TileStorm::~TileStorm(void); 
00056        void TileStorm::Draw(void); 
00057        bool TileStorm::Step(float timeStep); 
00058 };

 

Copyright Windsor Schmidt 2006 - All rights reserved.