Interface IObjectMap
- Namespace
- RetroEditor.Plugins
- Assembly
- RetroEditor.dll
Interface for an object map - used by the ObjectMapWidget class
public interface IObjectMap
Properties
FetchObjects
Fetch the objects for the map (they will be rendered in the order they are returned)
IEnumerable<IObject> FetchObjects { get; }
Property Value
Height
Height in pixels of the map
uint Height { get; }
Property Value
ScaleX
X Scale of the objects
float ScaleX { get; }
Property Value
ScaleY
Y Scale of the objects
float ScaleY { get; }
Property Value
Width
Width in pixels of the map
uint Width { get; }
Property Value
Methods
FetchPalette()
Fetch tile palette for the map
TilePaletteStore FetchPalette()
Returns
- TilePaletteStore
Tile palette storage
ObjectDelete(IObject)
Called when an object is deleted, allows the map to remove the object
void ObjectDelete(IObject obj)
Parameters
objIObjectObject being deleted
ObjectMove(IObject, uint, uint)
Called when an object is moved, allows the map to adjust the object position
void ObjectMove(IObject obj, uint x, uint y)