[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Prometheus_Vid' (#Prometheus)

Map.SetLayerOffset

Declaration

Source position: Prometheus_Vid.pas line 203

procedure Map.SetLayerOffset(

  X: Int64;

  Y: Int64;

  Layer: Int64

);

Description

Allows layers to be offsetedd by the specified X and Y values to the rest of the Map. Eg if I offset layer 2 by X=-6 and Y=-2 and I then draw the map at X=10 and Y=10 all layers aside from layer 2 will be drawn at X=10 Y=10 whereas layer 2 will be drawn at X=4 and Y=8. Neat.