07 Feb 2014
We talked about three objects as the main part of the program.
The Sim with Food (Energy), Shelter (Sleep/Rested), and Clothing (Comfort) I asked you all to come up with a scale for it. Room which we decided would be a 2D array of Items. Items which is what the Sim will interact with Name (String), Energy Modifier (int), Comfort Modifier (int), Symbol (char), Rest/Sleep Modifier (int), and Cycles (int). (crmexampleitem)
For homework I assigned: Write a class with 2 attributes, 1 return only, and 1 set/get attribute. Demo this class.
{"display_name"=>"chris", "login"=>"chris", "email"=>"crmacd@gmail.com", "url"=>"http://www.crmacd.com"}