/*
 * PheromoneParticle.java
 *
 * Created on 16 February 2007, 02:51
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package ants;

/**
 *
 * @author James Hamilton
 */
public class PheromoneParticle {
    
    private Ant ant = null;
    private int direction = AWAY_FROM_NEST;

    public static final int TOWARD_NEST = 1;
    public static final int AWAY_FROM_NEST = 2;
    
    /** Creates a new instance of PheromoneParticle */
    public PheromoneParticle(Ant ant, int direction) {
        this.setAnt(ant);
        this.setDirection(direction);
    }

    public Ant getAnt() {
        return ant;
    }

    public void setAnt(Ant ant) {
        this.ant = ant;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }
    
}

