/** * Author: Josiah Yoder et al. * User: yoder * Class: SE1011-051 * Date: 10/15/13 3:45 PM * Lesson: Week 6, Day 2 */ public class VideoGame051_6_2 { // fields boolean isOn; boolean isDiscIn; int numberOfPlayers; // numberOfPlayers = 10; // ERROR. Cannot do things outside of a method. // Methods public String pushPowerButton() { return ""; } public int processAI(int maxPlayers) { return 0; } public String insertDisc() { return ""; } public void setNumberOfPlayers(int numberOfPlayers) { this.numberOfPlayers = numberOfPlayers; } }