Class cc.Place
- Defined in: CCActionInstant.js
- Extends cc.ActionInstant
Constructor Attributes | Constructor Name and Description |
---|---|
cc.Place()
Places the node in a certain position
|
Method Summary
Class Detail
cc.Place()
Places the node in a certain position
Method Detail
-
creates a Place action with a position
// example var placeAction = cc.Place.create(cc.p(200, 200));
- Parameters:
- {cc.Point} pos
- Returns:
- {cc.Place}
-
{Boolean} initWithPosition(pos)Initializes a Place action with a position
- Parameters:
- {cc.Point} pos
- Returns:
- {Boolean}
-
update(time)
- Parameters:
- {Number} time