TileAnimation Class
Definition
Namespace: Brine2D.Tilemap
An animation sequence for a single tile GID, as authored in Tiled. The sequence loops indefinitely.
Inheritance System.Object → TileAnimation
| Properties | |
|---|---|
| Frames | Ordered frames of the animation. |
| OwnerGid | The base GID that owns this animation \(the GID that appears in the tile layer data\). |
| TotalDurationMs | Total duration of one full loop in milliseconds. |
| Methods | |
|---|---|
| ResolveGid\(double\) | Returns the GID that should be rendered at the given accumulated time in milliseconds. |