Ora.start() now accepts same params as constructor;

This commit is contained in:
Philipp Kunz 2016-05-14 17:48:02 +02:00
parent 13622b4ed7
commit 5f24ae865a

View File

@ -18,7 +18,9 @@ export class Ora {
this._oraObject.text = textArg; this._oraObject.text = textArg;
}; };
start(){ start(textArg:string,colorArg:string){
this._oraObject.text = textArg;
this._oraObject.color = colorArg;
this._oraObject.start(); this._oraObject.start();
}; };
end(){ end(){