mirror of https://github.com/axmolengine/axmol.git
Fix typos and other trivial cleanup
This commit is contained in:
parent
1f742b6675
commit
27b82f8f67
|
@ -24,8 +24,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SPITE_NODE_CCSPRITE_H__
|
||||
#define __SPITE_NODE_CCSPRITE_H__
|
||||
#ifndef __SPRITE_NODE_CCSPRITE_H__
|
||||
#define __SPRITE_NODE_CCSPRITE_H__
|
||||
|
||||
#include "CCNode.h"
|
||||
#include "CCProtocols.h"
|
||||
|
@ -425,13 +425,13 @@ public:
|
|||
* If you want to flip the anchorPoint too, and/or to flip the children too use:
|
||||
* sprite->setScaleX(sprite->getScaleX() * -1);
|
||||
*
|
||||
* @return true if the sprite is flipped horizaontally, false otherwise.
|
||||
* @return true if the sprite is flipped horizontally, false otherwise.
|
||||
*/
|
||||
bool isFlippedX(void) const;
|
||||
/**
|
||||
* Sets whether the sprite should be flipped horizontally or not.
|
||||
*
|
||||
* @param bFlipX true if the sprite should be flipped horizaontally, false otherwise.
|
||||
* @param flippedX true if the sprite should be flipped horizontally, false otherwise.
|
||||
*/
|
||||
void setFlippedX(bool flippedX);
|
||||
|
||||
|
@ -451,13 +451,13 @@ public:
|
|||
* If you want to flip the anchorPoint too, and/or to flip the children too use:
|
||||
* sprite->setScaleY(sprite->getScaleY() * -1);
|
||||
*
|
||||
* @return true if the sprite is flipped vertically, flase otherwise.
|
||||
* @return true if the sprite is flipped vertically, false otherwise.
|
||||
*/
|
||||
bool isFlippedY(void) const;
|
||||
/**
|
||||
* Sets whether the sprite should be flipped vertically or not.
|
||||
*
|
||||
* @param bFlipY true if the sprite should be flipped vertically, flase otherwise.
|
||||
* @param flippedY true if the sprite should be flipped vertically, false otherwise.
|
||||
*/
|
||||
void setFlippedY(bool flippedY);
|
||||
|
||||
|
@ -575,8 +575,8 @@ protected:
|
|||
bool _opacityModifyRGB;
|
||||
|
||||
// image is flipped
|
||||
bool _flippedX; /// Whether the sprite is flipped horizaontally or not.
|
||||
bool _flippedY; /// Whether the sprite is flipped vertically or not.
|
||||
bool _flippedX; /// Whether the sprite is flipped horizontally or not
|
||||
bool _flippedY; /// Whether the sprite is flipped vertically or not
|
||||
};
|
||||
|
||||
|
||||
|
@ -585,4 +585,4 @@ protected:
|
|||
|
||||
NS_CC_END
|
||||
|
||||
#endif // __SPITE_NODE_CCSPRITE_H__
|
||||
#endif // __SPRITE_NODE_CCSPRITE_H__
|
||||
|
|
Loading…
Reference in New Issue