Class FoodModel


  • public final class FoodModel
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FoodModel​(int w, int h)
      Constructor: FoodModel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearRange​(int x, int y, int r)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FoodModel

        public FoodModel​(int w,
                         int h)
        Constructor: FoodModel.
        Parameters:
        w -
        h -
    • Method Detail

      • clearRange

        public void clearRange​(int x,
                               int y,
                               int r)
        Parameters:
        x -
        y -
        r - vision range