#include <QwSpriteField.h>
Inherits QwPositionedSprite.
Create a QwPositionedSprite without defining its image sequence. Note that you must call setSequence(QwSpritePixmapSequence*) before doing anything else with the sprite.
Create a QwPositionedSprite which uses images from the given sequence.
Use the width and height of the sprite's spritefield as the bounds. This is the default when the sprite is created.
Set the bounds of the sprite's motion. The default is the bounds of the Spritefield containing the sprite.
Returns the horizontal velocity of the sprite.
See also: QwMobilePositionedSprite::setVelocity.
Returns the vertical velocity of the sprite.
See also: QwMobilePositionedSprite::setVelocity.
Move forward (or backward if multiplier is negative) by the given amount multiplied by the current velocity of the sprite.
Move forward (or backward if multiplier is negative) by the given amount multiplied by the current velocity of the sprite, and set the frame to the given index.
Returns an iterator over objects that might be hit if the sprite moves forward. Note that if the movement would not change the pixel position of the sprite, 0 is returned, even if the sprite is already in contact with something - the assumption being that such a collision has already been dealt with.
Returns an iterator over objects that might be hit if the sprite moves forward, and changes frame. Note that if the movement would not change the pixel position of the sprite, 0 is returned, even if the sprite is already in contact with something - the assumption being that such a collision has already been dealt with.
Override to implement bounds action.
[virtual]
Override to implement bounds action.
Returns TRUE if the sprite has moved out of its bounds. This should only happen if the bounds action is set to Ignore.
Set the action to perform when the sprite hits its bounds. It can:
Set the velocity of the sprite. It will only actually move when QwMobilePositionedSprite::forward is called.
This file is copyright © 1995-97 Warwick Allison.
It was generated from the following files: