feat(task): connect hose to machine with events #27

Merged
akkiirah merged 8 commits from feat/task/hose into master 2026-08-19 23:01:43 +02:00
Owner

After starting the computer, the machine doesnt yet start but gets active.
The display shows the task of connecting the hose to the machine.
The hose is interactable and can be connected to the machine.
Finally, when the hose is connected, the display shows the task as completed and the machine starts.

Closes: #17

After starting the computer, the machine doesnt yet start but gets active. The display shows the task of connecting the hose to the machine. The hose is interactable and can be connected to the machine. Finally, when the hose is connected, the display shows the task as completed and the machine starts. Closes: #17
akkiirah added this to the v0.3.0 milestone 2026-08-18 23:55:29 +02:00
At first I wanted to use a generic `OnTaskStarted` and `OnTaskCompleted`
with a `TaskType` enum as parameter.
But Godots events must be compatible with the Variant-type it seems. I
would have to use the standard C# events for it to work as I wanted.
I don't like the idea of mixing event types as of now.
Otherwise I could have used something like an int int but the downside
should be clear immediately.
akkiirah merged commit 0adc783890 into master 2026-08-19 23:01:43 +02:00
akkiirah deleted branch feat/task/hose 2026-08-19 23:01:43 +02:00
Sign in to join this conversation.
No reviewers
No labels
bug
feature
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
akkiirah/node.you!27
No description provided.