changed drawFunc to sceneFunc and drawHitFunc to hitFunc

This commit is contained in:
Eric Rowell
2014-01-04 23:34:01 -08:00
parent ff952bf958
commit 7e2c6c97f8
20 changed files with 51 additions and 51 deletions

View File

@@ -174,9 +174,9 @@
___init: function(config) {
Kinetic.Shape.call(this, config);
this.className = 'Tag';
this.setDrawFunc(this._drawFunc);
this.sceneFunc(this._sceneFunc);
},
_drawFunc: function(context) {
_sceneFunc: function(context) {
var width = this.getWidth(),
height = this.getHeight(),
pointerDirection = this.getPointerDirection(),