Concept of scene switching in Haruhi

Registered by davidsiaw

Create a Scene class to allow switching and nesting scenes inside Haruhi. A Scene is a package of callbacks(mousemotion, refresh) that activates when a Scene is switched on. This means that you can create a Scene that would deactivate listening to any user input and show a movie. A Scene should have an activate function that would block using the event loop until its deactivate function is called. A Scene also needs to save the callback state of a previous scene if a previous scene is running, pause the scene and use its own callbacks. This enables easy switching between modes in a program while preserving event-orientedness.

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
davidsiaw
Definition:
Approved
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
davidsiaw

Related branches

Sprints

Whiteboard

Scene has been implemented in revision 8

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.