Touch properties update

This commit is contained in:
Pavel fljot 2012-03-06 00:50:34 +02:00
parent 242966790a
commit 49b1139b4f

View file

@ -43,11 +43,14 @@ package org.gestouch.core
{
_location = value;
_beginLocation = _location.clone();
_previousLocation = _location.clone();
}
gestouch_internal function updateLocation(x:Number, y:Number):void
{
if (_location)
{
_previousLocation.x = _location.x;
_previousLocation.y = _location.y;
_location.x = x;
_location.y = y;
}
@ -58,6 +61,13 @@ package org.gestouch.core
}
protected var _previousLocation:Point;
public function get previousLocation():Point
{
return _previousLocation.clone();
}
protected var _beginLocation:Point;
public function get beginLocation():Point
{