2024-02-11 13:22:20 +01:00
|
|
|
function Node_Terminal_Trigger(_x, _y, _group = noone) : Node(_x, _y, _group) constructor {
|
|
|
|
name = "Terminal Trigger";
|
2024-03-28 14:18:02 +01:00
|
|
|
setDimension(96, 32 + 24 * 1);
|
2024-02-11 13:22:20 +01:00
|
|
|
|
|
|
|
draw_padding = 8;
|
|
|
|
|
2024-09-04 03:57:11 +02:00
|
|
|
newOutput(0, nodeValue_Output("Terminal", self, VALUE_TYPE.trigger, false ));
|
2024-02-11 13:22:20 +01:00
|
|
|
|
|
|
|
static onDrawNode = function(xx, yy, _mx, _my, _s, _hover, _focus) {
|
|
|
|
var bbox = drawGetBbox(xx, yy, _s);
|
2025-01-05 04:32:19 +01:00
|
|
|
draw_sprite_bbox_uniform(s_node_terminal_trigger, 0, bbox);
|
2024-02-11 13:22:20 +01:00
|
|
|
}
|
|
|
|
}
|