Commit graph

18 commits

Author SHA1 Message Date
d123ed3feb Made resetTime more useful and various setup functions use BaseLayer 2022-05-23 23:34:59 -05:00
3f10abbb09 Fix buyables' onPurchase not being called 2022-05-23 22:54:42 -05:00
ce2f9f8ee0 Make buyables' onClick/purchase function support custom canPurchases
They can also now be overidden from the options function
2022-05-10 21:23:05 -05:00
aae6455ea6 Made no features extend Persistent 2022-04-24 16:59:31 -05:00
64f1b460b0 Added FeatureOptionsFunc to simplify features 2022-04-10 19:26:33 -05:00
5a59aaf4fc Persistence rework
- Removed makePersistent
- Removed Persistent, renamed PersistentRef to Persistent
- createLazyProxy now takes optional base object
  - For use where previously makePersistent would be used
- Added warnings when creating refs outside a layer
- Added warnings when persistent refs aren't included in their layer object
- createLayer now takes id as a parameter rather than an option
2022-04-10 19:26:33 -05:00
765e2cfc5f Coerce buyable's currDisplay first 2022-03-16 11:24:54 -05:00
e076c84483 Fix buyables not supporting CoercableComponents for displays 2022-03-16 11:20:53 -05:00
acc9622d49 Fix features not handling refs passed to style props correctly 2022-03-13 23:06:10 -05:00
e5da55d26a Made buyables default to infinite purchase limit 2022-03-11 09:16:19 -06:00
7524ed3164 Export more types 2022-03-08 19:40:51 -06:00
49474b1518 Changed path aliasing 2022-03-03 21:39:48 -06:00
a81040d6a2 Moved persistence related code to its own file 2022-02-27 16:18:13 -06:00
a8af84f581 Reorganized components 2022-02-27 16:04:56 -06:00
e2126472b2 Fixed runtime issues with vue
Entire demo tree has been tested and is fully functional,
including all the options and save manager functionality
2022-02-27 13:49:34 -06:00
067ba6ce90 Make layers lazy instantiate 2022-01-27 22:47:26 -06:00
15a460bf42 Fixing building / cleanup 2022-01-24 22:23:30 -06:00
6f781b33fa New layer API WIP 2022-01-13 22:25:47 -06:00