Class cc.ProgressTo#ctor
- Defined in: CCActionProgressTimer.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
cc.ProgressTo#ctor(duration, percent)
Creates a ProgressTo action with a duration and a percent
|
Class Detail
cc.ProgressTo#ctor(duration, percent)
Creates a ProgressTo action with a duration and a percent
var to = new cc.ProgressTo(2, 100);
- Parameters:
- {Number} duration
- duration in seconds
- {Number} percent