| 8 | * @author Jim Chen |
| 9 | */ |
| 10 | export class Shape extends DisplayObject { |
| 11 | private _graphics:Graphics; |
| 12 | |
| 13 | constructor() { |
| 14 | super(); |
| 15 | this._graphics = new Graphics(this); |
| 16 | } |
| 17 | |
| 18 | get graphics():Graphics { |
| 19 | return this._graphics; |
| 20 | } |
| 21 | |
| 22 | public serialize():Object { |
| 23 | var serialized:Object = super.serialize(); |
| 24 | serialized['class'] = 'Shape'; |
| 25 | return serialized; |
| 26 | } |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected