10 Case Classes

10.1 User Defined Types
10.2 Case Classes (Video 1, Video 2, Video 3)
    10.2.1 Making Objects
    10.2.2 Accessing Elements
    10.2.3 Named and Default Arguments
    10.2.4 The copy Method
    10.2.5 Case Class Patterns
10.3 Mutable Classes
10.4 Putting it Together

Projects:

The map.txt file can be used as an example starter for the text adventure. You can alter the format as you wish. This is simply a possible example.

The physics.in and physics.out files are samples for input and output on the gravity simulation program.
ċ
map.txt
(1k)
Mark Lewis,
Mar 19, 2012, 5:36 PM
ċ
physics.in
(0k)
Mark Lewis,
Mar 19, 2012, 5:36 PM
ċ
physics.out
(261k)
Mark Lewis,
Mar 19, 2012, 5:36 PM
Comments