/datum/directional_offsets 
Vars | |
ex | The pixel_x offset that an object should use when facing EAST. |
---|---|
ey | The pixel_y offset that an object should use when facing EAST. |
id | The non-unique ID of this directional offset datum. Corresponds to the name of the offsets tuple. |
nx | The pixel_x offset that an object should use when facing NORTH. |
ny | The pixel_y offset that an object should use when facing NORTH. |
priority | If several directional offset datums are defined for a single ID, datums with a higher priority will be considered for use first. |
sx | The pixel_x offset that an object should use when facing SOUTH. |
sy | The pixel_y offset that an object should use when facing SOUTH. |
wx | The pixel_x offset that an object should use when facing WEST. |
wy | The pixel_y offset that an object should use when facing WEST. |
Procs | |
apply_offsets | Apply this directional offsets datum's offsets to an atom. |
is_compatible | Whether this directional offsets datum can be used with the atom and direction. |
Var Details
ex 
The pixel_x
offset that an object should use when facing EAST.
ey 
The pixel_y
offset that an object should use when facing EAST.
id 
The non-unique ID of this directional offset datum. Corresponds to the name of the offsets tuple.
nx 
The pixel_x
offset that an object should use when facing NORTH.
ny 
The pixel_y
offset that an object should use when facing NORTH.
priority 
If several directional offset datums are defined for a single ID, datums with a higher priority will be considered for use first.
sx 
The pixel_x
offset that an object should use when facing SOUTH.
sy 
The pixel_y
offset that an object should use when facing SOUTH.
wx 
The pixel_x
offset that an object should use when facing WEST.
wy 
The pixel_y
offset that an object should use when facing WEST.
Proc Details
apply_offsets
Apply this directional offsets datum's offsets to an atom.
is_compatible
Whether this directional offsets datum can be used with the atom and direction.