nulldesign/nd2d — pull request #29 by komelgman (2011-11-12 00:06:06+00:00)
Title: Some refactoring, add memory management and Sprite2DCloud little change

change log:
add memory management to Texture2D and Sprite2D
change updateColors in Sprite2DCloud (parent alpha properly work now)
add alpha property to ParticleSystem2D (and little change in shader)

1) move "texture.texture = null" from Sprite2dMaterial.handleDeviceLoss to Sprite2D.handleDeviceLoss
2) remove Sprite2DMaterial.dispose
- because texture managed into Sprite2D.