dmah42 / dart-box2d

Box2D for Dart
http://dart-lang.github.io/dart-box2d/
34 stars 5 forks source link

use lazy attribute initialization instead of initializer lists. #23

Closed laszlokorte closed 11 years ago

laszlokorte commented 11 years ago

https://github.com/dart-lang/dart-box2d/issues/9

In some cases in which clone(other)-constructors use initializer lists so set the properties I have kept the initializer lists for all constructors.

dmah42 commented 11 years ago

Thanks for this patch - it makes the code so much more dart-like and cleaner.

Just a couple of comments in line and I'll merge it.

laszlokorte commented 11 years ago

fixed