LayerBase Methods |
The LayerBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | AppendFrames |
Injects a series of Frame objects into this layer, to be drawn behind the
layer or in front of it, specifying a color modulation value.
|
![]() | ClearInjections |
Remove all injected frames from the layer.
|
![]() | Draw |
Draw the layer according to the currently active view defined by CurrentView.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ExecuteRules | |
![]() | ExecuteRulesInternal |
Executes the rules for all the plans on this layer
|
![]() | GetBottomSolidPixel |
Determine the vertical offset of the bottom-most solid pixel within the specified rectangle.
|
![]() | GetEnumerator |
Enumerates active sprites on the layer.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLeftSolidPixel |
Determine the horizontal offset of the left-most solid pixel within the specified rectangle.
|
![]() | GetMousePosition |
Retrieve the current mouse position
|
![]() | GetRightSolidPixel |
Determine the horizontal offset of the right-most solid pixel within the specified rectangle.
|
![]() | GetTile |
Retrieves information about the tile at the specified tile coordinate
|
![]() | GetTopSolidPixel |
Determine the vertical offset of the top-most solid pixel within the specified rectangle.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InjectFrames(Int32, Int32, Frame) |
Injects a series of Frame objects into this layer, to be interleaved
with the tiles on the layer.
|
![]() | InjectFrames(Int32, Int32, Frame, Int32) |
Injects a series of Frame objects into this layer, to be interleaved
with the tiles on the layer, specifying a color modulation value.
|
![]() | InjectSprites |
Inject frames into the layer to represent the current images and positions of
the sprites contained in this layer for this loop iteration.
|
![]() | IsSpriteVisible |
Determines if any part of the specified sprite is visible in the current view.
|
![]() | Move |
Move/Scroll the layer to a new position based on the current map position.
The layer's current position is offset by its position on the map and scaled
by the layer's scroll rate.
|
![]() | ProcessSprites |
Execute the rules of all active sprites on this layer.
|
![]() | PushSpriteIntoView |
Push the specified sprite into the currently active view.
|
![]() | ScrollSpriteIntoView |
Scroll the currently active view on the map so the specified sprite is visible.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |