mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Added more global properties
This commit is contained in:
parent
0918bc15c2
commit
2f5f5542fd
1 changed files with 11 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
var Class = require('../../utils/Class');
|
||||
var Components = require('../components');
|
||||
var GameObject = require('../GameObject');
|
||||
var Line = require('../../geom/line/Line');
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
|
@ -66,11 +67,20 @@ var Shape = new Class({
|
|||
|
||||
this.data = data;
|
||||
|
||||
this.pathData = [];
|
||||
this.pathIndexes = [];
|
||||
|
||||
this.fillColor = 0xffffff;
|
||||
this.fillAlpha = 1;
|
||||
|
||||
this.lineWidth = 1;
|
||||
this.strokeColor = 0xffffff;
|
||||
this.strokeAlpha = 1;
|
||||
|
||||
this.isFilled = false;
|
||||
this.isStroked = false;
|
||||
this.isFilled = true;
|
||||
|
||||
this._tempLine = new Line();
|
||||
|
||||
this.initPipeline();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue