public void update(TuioContainer tcon)
{
base.update(tcon.getX(),tcon.getY());
x_speed = tcon.getXSpeed();
y_speed = tcon.getYSpeed();
motion_speed = (float)Math.Sqrt(x_speed*x_speed+y_speed*y_speed);
motion_accel = tcon.getMotionAccel();
path.Add(new TuioPoint(currentTime,xpos,ypos));
if (motion_accel>0) state = TUIO_ACCELERATING;
else if (motion_accel<0) state = TUIO_DECELERATING;
else state = TUIO_STOPPED;
}