/datum/action_group
Vars | |
actions | The actions we're managing |
---|---|
column_max | Max amount of buttons we can have per row Indexes at 1 |
landing | Our landing screen object |
location | The screen location we go by |
max_rows | How many rows of actions we can have at max before we just stop hiding Indexes at 1 |
north_offset | The initial vertical offset of our action buttons |
owner | The hud we're owned by |
pixel_north_offset | The pixel vertical offset of our action buttons |
row_offset | How far "ahead" of the first row we start. Lets us "scroll" our rows Indexes at 1 |
Procs | |
ButtonNumberToScreenCoords | Accepts a number represeting our position in the group, indexes at 0 to make the math nicer |
clear_landing | Clears any landing objects we may currently have |
generate_landing | Generates a landing object that can be dropped on to join this group |
size | Returns the amount of objects we're storing at the moment |
Var Details
actions
The actions we're managing
column_max
Max amount of buttons we can have per row Indexes at 1
landing
Our landing screen object
location
The screen location we go by
max_rows
How many rows of actions we can have at max before we just stop hiding Indexes at 1
north_offset
The initial vertical offset of our action buttons
owner
The hud we're owned by
pixel_north_offset
The pixel vertical offset of our action buttons
row_offset
How far "ahead" of the first row we start. Lets us "scroll" our rows Indexes at 1
Proc Details
ButtonNumberToScreenCoords
Accepts a number represeting our position in the group, indexes at 0 to make the math nicer
clear_landing
Clears any landing objects we may currently have
generate_landing
Generates a landing object that can be dropped on to join this group
size
Returns the amount of objects we're storing at the moment