Difference between revisions of "Script Classes for Adventure Games/Locale Class"

From SCI Wiki
Jump to navigationJump to search
Line 54: Line 54:
 
 
 
 
  
<span style="float: left">[[Script Classes for Adventure Games/Game Class|&lt; Previous: The Game Class]]</span>
+
<span style="float: left">[[Script Classes for Adventure Games/Region Class|&lt; Previous: The Region Class]]</span>
 
<span style="float: right">[[Script Classes for Adventure Games/Region Class|Next: The Region Class &gt;]]</span>
 
<span style="float: right">[[Script Classes for Adventure Games/Region Class|Next: The Region Class &gt;]]</span>
  

Revision as of 01:24, 11 December 2015

Official SCI Documentation

Chapter: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Index


The Locale Class

Author: Jeff Stephenson

Date: 5 April 1988

 


The Locale Class

A Locale is similar to a Region in that it may encompass many Rooms, but its only purpose is to provide default responses to user input. Thus, a forest locale will provide generic responses to input like 'look forest', 'look tree', 'climb tree', etc. A locale is attached to a Room with the setLocales: method.

 

Notes


 

Table of Contents

 

< Previous: The Region Class Next: The Region Class >