Script Classes for Adventure Games/Set Class: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
Andrew Branscom (talk | contribs)
m 2 revisions imported
Andrew Branscom (talk | contribs)
Line 79: Line 79:


<span style="float: left">[[Script Classes for Adventure Games/List Class|&lt; Previous: The List Class]]</span>
<span style="float: left">[[Script Classes for Adventure Games/List Class|&lt; Previous: The List Class]]</span>
<span style="float: right">[[Script Classes for Adventure Games/EventHandler Class|Next: The EventHandler Class &gt;]]</span>
<span style="float: right">[[Script Classes for Adventure Games/EventHandler Class|Next: The &gt;]]</span>


&nbsp;
&nbsp;

Revision as of 20:27, 5 January 2026

Official SCI Documentation
Table of Contents

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 Set Class

Author: Jeff Stephenson

Date: 5 April 1988

 


The Set Class

A Set is a kind of List which does not contain duplicate elements: adding an object to a Set

which already contains the object does not change the Set.

In file: system.sc
Inherits from: Collection
Inherited by: EventHandler


Properties

 


Methods


add: element [element ...]

Adds each element to the set only if it is not already a member of the set.


References



See Also:

 

Table of Contents

< Previous: The List Class Next: The >