/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package volcanorobotapplication;

/**
 *
 * @author Lee Leong
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        VolcanoRobot richard = new VolcanoRobot();
		richard.status = "exploring";
		richard.speed = 2;
		richard.temperature = 510;
		richard.showAttributes();

		System.out.println("Increasing speed to 3.");
		richard.speed = 3;
		richard.showAttributes();

		System.out.println("Changing temperature to 670.");
		richard.temperature = 670;
		richard.showAttributes();

		System.out.println("Checking the temperature");
		richard.checkTemperature();
		richard.showAttributes();

		VolcanoRobot virgil = new VolcanoRobot();
		virgil.status = "exploring";
		virgil.speed = 2;
		virgil.temperature = 510;
		System.out.println("=======================");
		System.out.println("virgil...");
		virgil.showAttributes();
		virgil.setTemperature (700);
		System.out.println("=======================");
		virgil.checkTemperature();
		virgil.showAttributes();
    }

}
