next up previous contents index
Next: MemoSetUserView Up: MemoSetUser Previous: MemoSetUser   Contents   Index

Subsections

methods

instance

accessing

collectCards: aCollection
take the cards and change the values for sets and score.
collectedCards
is an access method to the cards the user has already collected.
color
is an access method to the user's color.
color: aColorValue
is an access method to the user's color.
lastSet
assuming the user has laid his cards on his pile the method returns the last set.
password
is an access method to the user's password.
password: aString
is an access method to the user's password.
score
is an access method to the user's score.
selectedCards
returns the cards the user has selected.
sets
is an access method to the user's number of sets.

comparing

<=
makes it possible to sort user.

printing

printString
overwriting this method makes it much nicer. Now there is displayed the user's name, his score and the number of sets he already has.
next up previous contents index
Next: MemoSetUserView Up: MemoSetUser Previous: MemoSetUser   Contents   Index
spax 2003-04-28