Commit Graph

42 Commits

Author SHA1 Message Date
cha0s
21c56ced91 refactor: hasGraphics 2019-03-19 18:04:37 -05:00
cha0s
53f9b10eee fix: positionChanged arg order 2019-03-19 18:02:45 -05:00
cha0s
daf6eeddc7 chore: translated Rectangle 2019-03-19 13:49:21 -05:00
cha0s
97ad01b426 chore: use container 2019-03-19 11:59:47 -05:00
cha0s
1969657651 chore: early out 2019-03-19 11:48:46 -05:00
cha0s
fb19cdfc69 refactor: frame rect calc 2019-03-19 11:29:07 -05:00
cha0s
2952e4edf4 refactor: always use Trait::initialize 2019-03-19 11:25:42 -05:00
cha0s
3b50c134d0 refactor: Trait::initialize before hooks, actions, and listeners 2019-03-19 11:21:52 -05:00
cha0s
5e8805fde1 refactor: Trait::initialize 2019-03-19 11:12:28 -05:00
cha0s
f6145f99f1 chore: dead code removal 2019-03-19 11:10:29 -05:00
cha0s
fbc0ab5583 refactor: sync position after initialization 2019-03-19 11:10:03 -05:00
cha0s
80d808a921 feat: Trait::hasInitialized 2019-03-19 11:09:41 -05:00
cha0s
ef1dbbe5b5 refactor: container position sync 2019-03-19 11:03:48 -05:00
cha0s
fc2d873809 fix: x/y changes should emit positionChanged 2019-03-19 11:02:38 -05:00
cha0s
b4e6ed7c77 chore: tidy 2019-03-19 10:52:09 -05:00
cha0s
8602b0e81d chore: dead code 2019-03-19 10:51:08 -05:00
cha0s
83e50210ed fix: skip empty image load 2019-03-19 10:46:20 -05:00
cha0s
8299973c7b refactor: hasGraphics, conditional entity container 2019-03-19 10:45:19 -05:00
cha0s
4a4a624d9e chore: clean up animated frameRect calc 2019-03-19 10:22:35 -05:00
cha0s
654a9b4dd8 chore: clean up listener creation 2019-03-19 10:21:00 -05:00
cha0s
d250d94f3b feat: explicit directional movement tracking 2019-03-19 10:20:49 -05:00
cha0s
1afc3609e4 chore: standards 2019-03-19 10:19:38 -05:00
cha0s
3b55648f60 feat: track position change 2019-03-19 10:19:23 -05:00
cha0s
701623ea31 refactor: trait params and state passed as args, Trait::fromJSON removed 2019-03-19 10:02:18 -05:00
cha0s
b9cbccede8 feat: Animated trait 2019-03-18 22:20:03 -05:00
cha0s
068c45842d refactor: Sprite::sourceRectangle property 2019-03-18 22:19:43 -05:00
cha0s
5b0e8092d2 featL synchronize params and state 2019-03-18 21:22:54 -05:00
cha0s
9e74aaf7e7 feat: graphical trait 2019-03-18 20:07:20 -05:00
cha0s
f22ea42b54 feat: graphics 2019-03-18 20:06:47 -05:00
cha0s
86b5d7260c chore: bump 2019-03-18 20:06:27 -05:00
cha0s
f9b9c9d6d8 fix: track magnitude 2019-03-18 20:06:05 -05:00
cha0s
efce6ce42d feat: traitAdded event on Traits 2019-03-18 20:05:41 -05:00
cha0s
2298d65cd3 feat: track direction 2019-03-18 20:05:11 -05:00
cha0s
73a91efbeb feat: track position 2019-03-18 20:05:00 -05:00
cha0s
77ec2a3c04 refactor: simpleState now uses Property 2019-03-18 20:04:12 -05:00
cha0s
c1e7db9ebf feat: more intelligent trait state merging 2019-03-18 20:03:30 -05:00
cha0s
a014a59e20 refactor: listener responsibility removed from trait instance 2019-03-18 20:02:57 -05:00
cha0s
101b443316 feat: events for add/remove entity in list 2019-03-18 19:58:22 -05:00
cha0s
c240ee6337 feat: meta.emit 2019-03-18 19:57:31 -05:00
cha0s
c1f18949e5 chore: remove dead meta.getContext 2019-03-18 19:57:13 -05:00
cha0s
5e4fde6642 fix: property mixin must call super ctor with args 2019-03-18 19:56:18 -05:00
cha0s
22fe6261b8 chore: initial 2019-03-17 23:45:48 -05:00