mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 06:56:45 +01:00
14 lines
No EOL
426 B
Text
14 lines
No EOL
426 B
Text
function Node_Terminal_Trigger(_x, _y, _group = noone) : Node(_x, _y, _group) constructor {
|
|
name = "Terminal Trigger";
|
|
setDimension(96, 32 + 24 * 1);
|
|
|
|
draw_padding = 8;
|
|
|
|
newOutput(0, nodeValue_Output("Terminal", self, VALUE_TYPE.trigger, false ));
|
|
|
|
static onDrawNode = function(xx, yy, _mx, _my, _s, _hover, _focus) {
|
|
var bbox = drawGetBbox(xx, yy, _s);
|
|
|
|
draw_sprite_bbox(s_node_terminal_trigger, 0, bbox);
|
|
}
|
|
} |