Frame

public struct Frame : Equatable

Frames are attached to Tiles and reference another Tile within the same Tile Set as well as the duration it that Tile should be displayed when shown as part of an animation

  • The tile to display

    Declaration

    Swift

    public let tile: Tile
  • Duration the frame should be displayed in seconds

    Declaration

    Swift

    public let duration: Double