To load this file without formatting, visit http://whoyouknow.co.uk/ants/java/17.1/src/ants/Food.java. This is a spam-protection measure; sorry for the inconvenience.
· Food.java ·
1/* 2 * Food.java 3 * 4 * Created on 07 October 2006, 15:45 5 * 6 * To change this template, choose Tools | Template Manager 7 * and open the template in the editor. 8 */ 9 10package ants; 11 12import java.awt.Color; 13 14/** 15 * 16 * @author James Hamilton 17 */ 18public class Food extends MyObject { 19 20 private static final Color color = new Color(150, 255, 150); 21 22 /** Creates a new instance of Food */ 23 public Food() { 24 } 25 26 public Food(GridSquare s) { 27 super(s); 28 } 29 30 public Color getColor() { 31 return color; 32 } 33 34 public String toString() { 35 return "Food"; 36 } 37 38} 39
· Food.java ends ·
To load this file without formatting, visit http://whoyouknow.co.uk/ants/java/17.1/src/ants/Food.java. This is a spam-protection measure; sorry for the inconvenience.