4 Commits

Author SHA1 Message Date
octacian
853ea68f65 Statbars: Fix set_status() error
If no min and max were defined, the game would crash when set_status() was called on an HUD.
2017-04-09 15:46:10 -07:00
octacian
5f4012ac33 Statbars: Add support for backgrounds
Documented in Statbar.md.
2017-04-07 14:51:37 -07:00
octacian
f7a4fb1888 Use metatables in element APIs
Simplifies API definition by providing self to all helper methods and allow use of ":" instead of "." in preparation to provide self as the helper methods to all event callbacks.
2017-04-06 19:29:28 -07:00
octacian
1d42a86d0e Add statbar element API
Add API specifically for registering and managing statbars.
2017-04-06 17:07:38 -07:00