Script Classes for Adventure Games/Locale Class
From SCI Wiki
Revision as of 01:28, 11 December 2015 by Andrew Branscom (talk | contribs)
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
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
< Previous: The Region Class Next: The Room Class >