Table of Contents

Interface ILayerWithFlip

Namespace
RetroEditor.Plugins
Assembly
RetroEditor.dll

Interface for a layer that supports flipping tiles

public interface ILayerWithFlip : ILayer
Inherited Members

Methods

GetFlipData()

Get the flip data for the layer

ReadOnlySpan<FlipState> GetFlipData()

Returns

ReadOnlySpan<FlipState>

Flat array of flip states for each tile

SetFlip(uint, uint, FlipState)

Set the flip state for a tile in the layer

void SetFlip(uint x, uint y, FlipState flipState)

Parameters

x uint

x offset of modified tile in tiles

y uint

y offset of modified tile in tiles

flipState FlipState

Flip state to set