package com.terry.engine.util {
	import flash.display.*;
	import flash.geom.*;
  import flash.events.*;
  import flash.net.*;
	
	public class particleclass  {
		public function particleclass():void {
			clear();
		}
		
		public function clear():void {
			//Set all values to a default, required for creating a new entity
			active = false;
			type = "null";
			tile = 0; life = 0; colour = 0; 
			state = 0; statedelay = 0;
			
			xp = 0; yp = 0; ax = 0; ay = 0; vx = 0; vy = 0;
		}
		
    //Fundamentals
		public var active:Boolean;
		public var type:String;
		public var tile:int;
		public var life:int, colour:int;
		public var state:int, statedelay:int;
		//Position and velocity
		public var xp:Number, yp:Number;
		public var ax:Number, ay:Number, vx:Number, vy:Number;
	}
}
