Dart Documentationbox2dVelocity

Velocity class

This is an internal structure

class Velocity {
 Vector2 v;
 num a;

 Velocity() {
   v = new Vector2.zero();
   a = 0;
 }
}

Constructors

new Velocity() #

Velocity() {
 v = new Vector2.zero();
 a = 0;
}

Properties

num a #

num a

Vector2 v #

Vector2 v