1/*
2 * Copyright 2012-2013 Tri-Edge AI <triedgeai@gmail.com>
3 * All rights reserved. Distributed under the terms of the MIT license.
4 */
5#ifndef PARTICLE_H
6#define PARTICLE_H
7
8
9#include <GLView.h>
10
11class BList;
12
13
14class Particle
15{
16public:
17	static	BList* 	list;
18
19	static	void 	Initialize(int32 size, int32 shade);
20	static	void 	Terminate();
21	static	void 	Tick();
22
23			float 	x;
24			float 	y;
25			float 	z;
26			float 	r;
27
28			float 	vx;
29			float 	vy;
30			float 	vz;
31			float 	vr;
32
33			float 	red;
34			float 	green;
35			float 	blue;
36
37private:
38			void 	_Logic();
39			void 	_Render() const;
40
41};
42
43
44#endif
45