mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Added setFillStyle override
This commit is contained in:
parent
d25ad0cf68
commit
270864d974
1 changed files with 11 additions and 0 deletions
|
@ -53,6 +53,17 @@ var IsoBox = new Class({
|
|||
this.setSize(size, height);
|
||||
|
||||
this.updateDisplayOrigin();
|
||||
},
|
||||
|
||||
setFillStyle: function (fillTop, fillLeft, fillRight)
|
||||
{
|
||||
this.fillTop = fillTop;
|
||||
this.fillLeft = fillLeft;
|
||||
this.fillRight = fillRight;
|
||||
|
||||
this.isFilled = true;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue