Click or drag to resize
TileFrame Class
Represents the appearance of a tile during one iteration of the game loop.
Inheritance Hierarchy

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public class TileFrame : IComparable

The TileFrame type exposes the following members.

Constructors
  NameDescription
Public methodTileFrame(Int32, Int32)
Constructs a simple (non-composite) TileFrame given its m_nAccumulatedDuration and the single frameset frame index.
Public methodTileFrame(Int32, Int32)
Constructs a composite TileFrame given its m_nAccumulatedDuration and subFrames.
Top
Methods
  NameDescription
Public methodCompareTo
Compares frames based on their m_nAccumulatedDuration value
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
Fields
  NameDescription
Public fieldm_nAccumulatedDuration
Represents counter value, and is used to optimize frame searching
Public fieldsubFrames
A list of all the frameset frame indexes contained in this tile frame.
Top
Remarks
Composite tiles are tiles that draw multiple images at once for a single iteration of the game loop. Such tiles will have sub-frames representing the multiple images that are drawn overlapped.
See Also