Dart Documentationbox2dVelocity

Velocity class

This is an internal structure

class Velocity {
 vec2 v;
 num a;

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

Constructors

new Velocity() #

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

Properties

num a #

num a

vec2 v #

vec2 v