Analytical Perspectives in Game Design
Construct scenario
Home ] Up ] Chain of command ] [ Construct scenario ] Displaying a game to join ] Instantiating new parts of the game ] loading a game ] Selection dialog scenario ] Starting a game ]


 

This is the scenario that happens when the Director Of Construction is passed a construct command.

Prerequisites:

  1. Director of construction has been passed a location to get the information from.

Trigger:

  1. called by the load a game scenario.

see also:

  • data file scenarios

 

1 Director of Construction new     Extended Text File Reader  
2 Director of Construction request Extended Text File Reader to read data file  
3 Extended Text File Reader new     Text File Reader  
4 Extended Text File Reader request Text File Reader to read data file  
5 Extended Text File Reader parses     data file  
6 Extended Text File Reader expands file references by accessing data files  
7   until     all data-file have been expanded  
8 Extended Text File Reader returns text file to Director of Construction  
9 Director of Construction parses text file for objects  
10 Director of Construction parses text file for instructions  
11 Director of Construction instructs builder to build object  
12 Builder builds     object  
13 Builder returns object to Director of Construction  
14 Builder incorporates object into hierarchy  
15 Director of Construction completes construction        
16 Director of Construction returns     root thing
 

22/11/99

 


See also: [Role Playing Games] [Game Engine]
© 1998, 1999 Brian Yap. These pages are available under the GNU licence.