content: /*
   * To change this template, choose Tools | Templates
   * and open the template in the editor.
   */
  package com.rs2.game.content.skills.farming;
  
  import java.awt.Point;
  
  /**
   *
   * @author ArrowzFtw
   */
  
  /**
   * Created by IntelliJ IDEA. User: vayken Date: 25/02/12 Time: 16:39 To change
   * this template use File | Settings | File Templates.
   */
  public class FarmingConstants {// todo farmers watching crops
  								// payment to farmer
  								// todo sack making with jute, sack filling with
  								// items
  
  	public static final int WATERING_CAN_ANIM = 2293;
  	public static final int RAKING_ANIM = 2273;
  	public static final int SPADE_ANIM = 830;
  	public static final int SEED_DIBBING = 2291;
  	public static final int PICKING_VEGETABLE_ANIM = 2282;
  	public static final int PICKING_HERB_ANIM = 2279;
  	public static final int PUTTING_COMPOST = 2283;
  	public static final int CURING_ANIM = 2288;
  	public static final int FILLING_POT_ANIM = 2287;
  	public static final int PLANTING_POT_ANIM = 2272;
  	public static final int PRUNING_ANIM = 2275;
  	public static final int GRASS_OBJECT = 8389;
  	public static final int HERB_OBJECT = 8143;
  	public static final int HERB_PATCH_DEPLETED = 8388;
  
  
  	public static final int RAKE = 5341;
  	public static final int SEED_DIBBER = 5343;
  	public static final int SPADE = 952;
  	public static final int TROWEL = 5325;
  	public static final int SECATEURS = 5329;
  	public static final int MAGIC_SECATEURS = 7409;
  
  	public static final int[] WATERED_SAPPLING = { 5364, 5365, 5366, 5367,
  			5368, 5369, 5488, 5489, 5490, 5491, 5492, 5493, 5494, 5495 };
  
  	public static boolean inRangeArea(Point base, Point top, Point point) {
  		return point.getX() >= base.getX() && point.getY() >= base.getY()
  				&& point.getX() <= top.getX() && point.getY() <= top.getY();
  	}
  
  	public static boolean inRangeArea(Point base, Point top, int x, int y) {
  		return x >= base.getX() && y >= base.getY() && x <= top.getX()
  				&& y <= top.getY();
  	}
  }
  