6566676869707172737475
* */ public void updatePosition() { super.updatePosition(); if (angle != 0f || distance != 0f) { mv = new Movement(MovementType.TRAVEL, angle, distance,isMoving); particles.applyMove(mv); } angle = 0f; distance = 0f; }
631632633634635636637638
protected void movementStart() { for (MoveListener p : listeners) { p.movementStarted(new Movement(_moveType, 0, 0, true ), this); } }
639640641642643644645646647
protected void movementStop() { for (MoveListener p : listeners) { Movement move = new Movement(_moveType, getTravelDistance(), getAngle(), false); p.movementStopped(move, this); } }
652653654655656657658
public float getMinRadius(){return _minRadius;} public Movement getMovement() { return new Movement(_moveType, getTravelDistance(), getAngle(), isMoving()); }