earlygrey / shapedrawer

A library for libGDX that draws simple shapes using a batch.
MIT License
187 stars 31 forks source link

Added ShapeDrawerDrawable. #2

Closed raeleus closed 5 years ago

raeleus commented 5 years ago

ShapeDrawerDrawable makes it easier to implement ShapeDrawer in Scene2D UI's. It just requires the user to override the ShapeDrawerDrawable#drawShapes() method and draw the desired shapes. I'll be using this technique to one day create UI's completely from code.

earlygrey commented 5 years ago

Hey thanks! Do you mind if I move this to its own package? I have some other scene2d related features in mind, so maybe it's best to start organising it

raeleus commented 5 years ago

I don't mind. That's an excellent idea and I'm excited for the new features.