Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 468 Bytes
package net.richardlord.asteroids.components
{
import flash.geom.Point;
public class Motion
{
public var velocity : Point = new Point();
public var angularVelocity : Number = 0;
public var damping : Number = 0;
public function Motion( velocityX : Number, velocityY : Number, angularVelocity : Number, damping : Number )
{
velocity = new Point( velocityX, velocityY );
this.angularVelocity = angularVelocity;
this.damping = damping;
}
}
}