ByteLayer Class |
Namespace: (Default Namespace)
[SerializableAttribute] public abstract class ByteLayer : LayerBase
The ByteLayer 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.
(Inherited from LayerBase.) | |
ClearInjections |
Remove all injected frames from the layer.
(Inherited from LayerBase.) | |
Draw |
Draw the layer according to the currently active view defined by CurrentView.
(Inherited from LayerBase.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecuteRules | (Inherited from LayerBase.) | |
ExecuteRulesInternal |
Executes the rules for all the plans on this layer
(Inherited from LayerBase.) | |
GetBottomSolidPixel |
Determine the vertical offset of the bottom-most solid pixel within the specified rectangle.
(Inherited from LayerBase.) | |
GetEnumerator |
Enumerates active sprites on the layer.
(Inherited from LayerBase.) | |
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.
(Inherited from LayerBase.) | |
GetMousePosition |
Retrieve the current mouse position
(Inherited from LayerBase.) | |
GetRightSolidPixel |
Determine the horizontal offset of the right-most solid pixel within the specified rectangle.
(Inherited from LayerBase.) | |
GetTile | (Overrides LayerBaseGetTile(Int32, Int32).) | |
GetTopSolidPixel |
Determine the vertical offset of the top-most solid pixel within the specified rectangle.
(Inherited from LayerBase.) | |
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.
(Inherited from LayerBase.) | |
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.
(Inherited from LayerBase.) | |
InjectSprites |
Inject frames into the layer to represent the current images and positions of
the sprites contained in this layer for this loop iteration.
(Inherited from LayerBase.) | |
IsSpriteVisible |
Determines if any part of the specified sprite is visible in the current view.
(Inherited from LayerBase.) | |
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.
(Inherited from LayerBase.) | |
ProcessSprites |
Execute the rules of all active sprites on this layer.
(Inherited from LayerBase.) | |
PushSpriteIntoView |
Push the specified sprite into the currently active view.
(Inherited from LayerBase.) | |
ScrollSpriteIntoView |
Scroll the currently active view on the map so the specified sprite is visible.
(Inherited from LayerBase.) | |
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.
(Inherited from LayerBase.) | |
m_Sprites |
A "Category" or collection of all sprites contained by the layer.
(Inherited from LayerBase.) |
Name | Description | |
---|---|---|
AbsolutePosition |
Get or set the position of the layer within the map.
(Does not affect current position until Move(Point) is called)
(Inherited from LayerBase.) | |
ActualColumns |
Get the number of columns of tiles in the layer's tile data
(Inherited from LayerBase.) | |
ActualRows |
Get the number of rows of tiles in the layer's tile data
(Inherited from LayerBase.) | |
CurrentPosition |
Gets/Sets the current pixel position of the layer relative to the screen.
(Setting this directly ignores ScrollRate and AbsolutePosition.)
(Inherited from LayerBase.) | |
Item |
Retrieves or sets the value of a tile at the specified tile coordinate
(Overrides LayerBaseItemInt32, Int32.) | |
Lighting |
Determines whether lighing effect are enabled for this layer.
(Inherited from LayerBase.) | |
ParentMap |
Returns the map that owns this layer
(Inherited from LayerBase.) | |
ScrollRate |
Gets the scroll rate that is applied to Move(Point) operations.
(Inherited from LayerBase.) | |
Tileset | (Inherited from LayerBase.) | |
VirtualColumns |
Get the number of columns of tiles in the layer's displayed
virtual scroll space (data is wrapped)
(Inherited from LayerBase.) | |
VirtualRows |
Get the number of rows of tiles in the layer's displayed
virtual scroll space (data is wrapped)
(Inherited from LayerBase.) | |
VisibleArea |
Returns a rectangle within this layer that represents the currently visible portion.
(Inherited from LayerBase.) |