package com.terry.engine.util {
	import flash.display.*;
	import flash.geom.*;
  import flash.events.*;
  import flash.net.*;
	
	public class blockclass  {
		public function blockclass() {
			clear();
    }
		
		public function clear():void{
			active = false;
			type = 0; trigger = "null";
			
			xp = 0; yp = 0; wp = 0; hp = 0;
			rect = new Rectangle();
			rect.x = xp; rect.y = yp; rect.width = wp; rect.height = hp;
			destx = 0; desty = 0;
			doorname = "";
    }
		
		public function rectset(xi:int, yi:int, wi:int, hi:int):void {
			rect.x = xi; rect.y = yi; rect.width = wi; rect.height = hi;
		}
		
		//Fundamentals
		public var active:Boolean;
		public var rect:Rectangle;
		public var type:int;
		public var trigger:String, destx:int, desty:int;
		public var xp:int, yp:int, wp:int, hp:int;
		public var doorname:String;
	}
};
