Click or drag to resize
LayerSpriteCategoriesBase Class
Provides categorized access to sprite within a layer for all categories defined in the project
Inheritance Hierarchy
SystemObject
  (Default Namespace)LayerSpriteCategoriesBase

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
[SerializableAttribute]
public class LayerSpriteCategoriesBase

The LayerSpriteCategoriesBase type exposes the following members.

Constructors
  NameDescription
Public methodLayerSpriteCategoriesBase
Initializes a new instance of the LayerSpriteCategoriesBase class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Each m_SpriteCategories member of each layer contains an instance of a class derived from this that knows how to return sprites by category for the individual layer. Each sprite category is represented as a member whose name is based on a sprite category defined in the project, and returns a SpriteCollection containing the sprites in that layer that are in the named category. Even categories without any members are represented in order to allow this common base class to provide the same set of categories universally regardless of the specific layer to which it applies.
See Also