Include costume data in sprite info reports

Also emit the report on all costume changes
This commit is contained in:
Ray Schamp 2016-11-30 13:16:49 -05:00
parent 3989959ebf
commit ce17fdbd30
2 changed files with 10 additions and 0 deletions
src/engine

View file

@ -734,6 +734,7 @@ Runtime.prototype.spriteInfoReport = function (target) {
x: target.x,
y: target.y,
direction: target.direction,
costume: target.getCurrentCostume(),
visible: target.visible,
rotationStyle: target.rotationStyle
});