mirror of https://github.com/axmolengine/axmol.git
Merge pull request #11345 from IgorMats/v3
Add getStroke/setStroke methods for motion streak.
This commit is contained in:
commit
06a2042a11
|
@ -86,6 +86,16 @@ public:
|
|||
* @param bFastMode True if enabled fast mode.
|
||||
*/
|
||||
inline void setFastMode(bool bFastMode) { _fastMode = bFastMode; }
|
||||
/** Get stroke.
|
||||
*
|
||||
* @return float stroke.
|
||||
*/
|
||||
inline float getStroke() const { return _stroke; }
|
||||
/** Set stroke.
|
||||
*
|
||||
* @param stroke The width of stroke.
|
||||
*/
|
||||
inline void setStroke(float stroke) { _stroke = stroke; }
|
||||
|
||||
/** Is the starting position initialized or not.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue