SpriteBaseLandDownOnPlatform Method |
Tests to see if this sprite is landing on a platform (from above), and if so,
make the sprite ride the platform.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual bool LandDownOnPlatform(
SpriteCollection PlatformList
)
Parameters
- PlatformList
- Type: (Default Namespace)SpriteCollection
List of platform sprites to check
Return Value
Type:
BooleanTrue if the sprite landed on a platform, False if it is already riding a platform or doesn't need to
Remarks
This should be called after sprites are moved, but before
they are drawn.
See Also