Skip to content

Queue Cancelation #16

@WesleyMcGinn

Description

@WesleyMcGinn

On tab A, the snail notices that the computer battery is low, so it queues a word bubble to bring this up to the user. Before the snail gets to the part of the screen where it may speak (the "stage"), the user navigates to tab B, where the snail does the same thing. The snail on tab B notifies the user that their battery is low, so they plug it in and charge it. A few hours later, the battery is fully charged, and the user navigates back to tab A. The snail will now tell them that their battery level is extremely low and that they should plug in their computer immediately.

This problem must be resolved through queue cancelation. Queues should not merely be strings of text, but entire objects that come with:

  • Text
  • Duration
  • Boolean check before display (for cancelation)
  • onSpeak function (triggers when snail actually says the queued statement)

This will help with various aspects of programming the snail's speech.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions