mirror of https://github.com/axmolengine/axmol.git
format spelling (#20360)
This commit is contained in:
parent
5b15737b3a
commit
b9df4bd63b
|
@ -1738,22 +1738,22 @@ public:
|
||||||
* Set the callback of event EnterTransitionDidFinish.
|
* Set the callback of event EnterTransitionDidFinish.
|
||||||
* @param callback A std::function<void()> callback.
|
* @param callback A std::function<void()> callback.
|
||||||
*/
|
*/
|
||||||
void setonEnterTransitionDidFinishCallback(const std::function<void()>& callback) { _onEnterTransitionDidFinishCallback = callback; }
|
void setOnEnterTransitionDidFinishCallback(const std::function<void()>& callback) { _onEnterTransitionDidFinishCallback = callback; }
|
||||||
/**
|
/**
|
||||||
* Get the callback of event EnterTransitionDidFinish.
|
* Get the callback of event EnterTransitionDidFinish.
|
||||||
* @return std::function<void()>
|
* @return std::function<void()>
|
||||||
*/
|
*/
|
||||||
const std::function<void()>& getonEnterTransitionDidFinishCallback() const { return _onEnterTransitionDidFinishCallback; }
|
const std::function<void()>& getOnEnterTransitionDidFinishCallback() const { return _onEnterTransitionDidFinishCallback; }
|
||||||
/**
|
/**
|
||||||
* Set the callback of event ExitTransitionDidStart.
|
* Set the callback of event ExitTransitionDidStart.
|
||||||
* @param callback A std::function<void()> callback.
|
* @param callback A std::function<void()> callback.
|
||||||
*/
|
*/
|
||||||
void setonExitTransitionDidStartCallback(const std::function<void()>& callback) { _onExitTransitionDidStartCallback = callback; }
|
void setOnExitTransitionDidStartCallback(const std::function<void()>& callback) { _onExitTransitionDidStartCallback = callback; }
|
||||||
/**
|
/**
|
||||||
* Get the callback of event ExitTransitionDidStart.
|
* Get the callback of event ExitTransitionDidStart.
|
||||||
* @return std::function<void()>
|
* @return std::function<void()>
|
||||||
*/
|
*/
|
||||||
const std::function<void()>& getonExitTransitionDidStartCallback() const { return _onExitTransitionDidStartCallback; }
|
const std::function<void()>& getOnExitTransitionDidStartCallback() const { return _onExitTransitionDidStartCallback; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get & set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true
|
* get & set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true
|
||||||
|
|
Loading…
Reference in New Issue