| 50 | } |
| 51 | |
| 52 | interface ICommentManager { |
| 53 | stage:any; |
| 54 | width:number; |
| 55 | height:number; |
| 56 | options:CCLOptions; |
| 57 | /** |
| 58 | * Start the comment manager comments |
| 59 | */ |
| 60 | start():void; |
| 61 | /** |
| 62 | * Stop the running comments |
| 63 | */ |
| 64 | stop():void; |
| 65 | /** |
| 66 | * Remove all current running comments |
| 67 | */ |
| 68 | clear():void; |
| 69 | /** |
| 70 | * Set the bounds for the CommentManager stage |
| 71 | * @param w width |
| 72 | * @param h height |
| 73 | */ |
| 74 | setBounds(w?:number, h?:number):void; |
| 75 | /** |
| 76 | * Cleanup the given comment since it has finished |
| 77 | * @param c - IComment |
| 78 | */ |
| 79 | finish(c:IComment):void; |
| 80 | } |
| 81 | |
| 82 | interface ICommentFactory { |
| 83 | create(manager:ICommentManager, comment:Object):IComment; |
no outgoing calls
no test coverage detected