package Mobs
{
	import flash.events.EventDispatcher;
	
	/**
	 * ...
	 * @author Michael Miriti
	 */
	public class Mob extends EventDispatcher
	{
		protected var _x:Number = 0;
		protected var _y:Number = 0;
		protected var _w:Number = 1;
		protected var _h:Number = 1;
		
		public function Mob()
		{
		
		}
		
		public function update(delta:Number):void
		{
		
		}
		
		public function render(delta:Number):void
		{
		
		}
		
		public function get fy():Number
		{
			return _y;
		}
		
		public function set fy(val:Number):void
		{
			_y = val;
		}
		
		public function get fx():Number
		{
			return _x;
		}
		
		public function set fx(val:Number):void
		{
			_x = val;
		}
		
		public function get y():int
		{
			return Math.floor(_y);
		}
		
		public function set y(value:int):void
		{
			_y = value;
		}
		
		public function get x():int
		{
			return Math.floor(_x);
		}
		
		public function set x(value:int):void
		{
			_x = value;
		}
	
	}

}