On 29 Jul 2013, at 11:51, Kevin Rutherford <[email protected]> 
wrote:

> Another way to look at it might be to say that User is a role played
> by a Person via a UserAccount. It seems to me that I am not the same
> as my UserAccount on any of the applications I use. My accounts have
> usernames, but I don't.

Actually that's almost where I'm at. I have a Fisherman which represents the 
person in the game, and in fact I wrote this first, long before I thought about 
authentication. Probably I should have called my User class UserAccount and it 
would be more obvious then. There's a possibility I'll write computer players 
too, in which case I could end up with at least Fisherman, Person, and 
UserAccount. There complication there will be that a computer Fisherman will 
still need a name in the game like a person, but it won't need an account to 
log in.

I haven't added anything yet where Fishermen need to communicate with each 
other,  so maybe that will be the demand for holding a name of some sort.

Cheers
Ash

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashmoran

-- 
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nwrug-members.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to