PICKING UP 3 ANIMALS

2 views
Skip to first unread message

cfs6292

unread,
Nov 30, 2010, 3:32:05 PM11/30/10
to Cornell CS 2110
Is it okay to hardcode three in as the maximum number of animals you
can carry instead of using a try-catch with the
CarryingCapacityException?

Jack Zhou

unread,
Nov 30, 2010, 3:37:21 PM11/30/10
to cornell...@googlegroups.com
There is a constant in the Naturalist class called MAX_ANIMAL_CAPACITY.


--
You received this message because you are subscribed to the Google Groups "Cornell CS 2110" group.
To post to this group, send email to cornell...@googlegroups.com.
To unsubscribe from this group, send email to cornell-cs211...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cornell-cs2110?hl=en.


Reply all
Reply to author
Forward
0 new messages