fromJSON method
Restores this instance from the given JSON object.
Implementation
@override
MovingEntity fromJSON(Map<String,dynamic> json ) {
super.fromJSON( json );
velocity.fromArray( json['velocity'] );
maxSpeed = json['maxSpeed'];
updateOrientation = json['updateOrientation'];
return this;
}