LayerBase Class |
Namespace: (Default Namespace)
[SerializableAttribute] public abstract class LayerBase : IEnumerable
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.) |
Name | Description | |
---|---|---|
![]() | m_SpriteCategories |
Provides access to all sprite categories as they relate to this layer.
|
![]() | m_Sprites |
A "Category" or collection of all sprites contained by the layer.
|
Name | Description | |
---|---|---|
![]() | AbsolutePosition |
Get or set the position of the layer within the map.
(Does not affect current position until Move(Point) is called)
|
![]() | ActualColumns |
Get the number of columns of tiles in the layer's tile data
|
![]() | ActualRows |
Get the number of rows of tiles in the layer's tile data
|
![]() | CurrentPosition |
Gets/Sets the current pixel position of the layer relative to the screen.
(Setting this directly ignores ScrollRate and AbsolutePosition.)
|
![]() | Item |
Retrieves or sets the value of a tile at the specified tile coordinate
|
![]() | Lighting |
Determines whether lighing effect are enabled for this layer.
|
![]() | ParentMap |
Returns the map that owns this layer
|
![]() | ScrollRate |
Gets the scroll rate that is applied to Move(Point) operations.
|
![]() | Tileset | |
![]() | VirtualColumns |
Get the number of columns of tiles in the layer's displayed
virtual scroll space (data is wrapped)
|
![]() | VirtualRows |
Get the number of rows of tiles in the layer's displayed
virtual scroll space (data is wrapped)
|
![]() | VisibleArea |
Returns a rectangle within this layer that represents the currently visible portion.
|