package  
{
	import net.flashpunk.Entity;
	
	/**
	 * ...
	 * @author Benn
	 */
	public class WindowEntity extends Entity 
	{
		
		protected var WindowPositionX : int;
		protected var WindowPositionY : int;
		
		protected var RandomKey1: int;
		protected var RandomKey2: int;
		
		public function WindowEntity() 
		{
			
		}
		
		public function SetWindowPosition(valueX : int, valueY : int) : void
		{
			var OldPosX : int = WindowPositionX;
			var OldPosY : int = WindowPositionY;

			WindowPositionX = valueX;
			WindowPositionY = valueY;
			
			x = x + (WindowPositionX - OldPosX);
			y = y + (WindowPositionY - OldPosY);
		}
		
		public function SetRandomKeys(valueA : int, valueB : int):void
		{
			RandomKey1 = valueA;
			RandomKey2 = valueB;
		}
		
	}

}