Class SimplePicture

java.lang.Object
  |
  +--SimplePicture

public class SimplePicture
extends Object

This class implements the code given on the last few slides of lecture C1.

Author:
Doug Johnson

Field Summary
(package private)  Rectangle deadTree
          a simple stump
(package private)  GWindow frame
          the on-screen window we are drawing in
(package private)  Line horizon
          the horizon line
(package private)  Oval sun
          jolly mister sun
 
Constructor Summary
SimplePicture()
          Construct a simple graphics window with all default characteristics.
 
Method Summary
 void advanceSun()
          This method moves the sun a little bit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deadTree

Rectangle deadTree
a simple stump


frame

GWindow frame
the on-screen window we are drawing in


horizon

Line horizon
the horizon line


sun

Oval sun
jolly mister sun

Constructor Detail

SimplePicture

public SimplePicture()
Construct a simple graphics window with all default characteristics.

Method Detail

advanceSun

public void advanceSun()
This method moves the sun a little bit.



Generated by BlueJ