import java.awt.Color;

public class Food extends SimObject {
	//	OVERVIEW:  Food is a subtype of SimObject that represents a 
	//	restaurant.  It does not move, but a crawler can get food which  
	//	will decrease his/her money count.
	
	protected boolean /*@non_null@*/inTurn;
	protected String/*@non_null@*/ state;

	public Food () {
		//Constructor
		inTurn = false;
		state ="Food";
	}
	
	public Color getColor() 
	//	Effects: returns the color associated with this
	//@ensures \result == Color.yellow
	{
		return Color.yellow;
	}//@nowarn NonNullResult
	
	public void executeTurn () throws RuntimeException{
	//  EFFECTS:  No action is taken, pause while ordering food. Decreases money variable
		delay (500);
		pauseObject();
}
}
//Modeled loosley after Philosopher.java and modified