package edu.calpoly.csc480.Wumpus.Agent;

import edu.calpoly.csc480.Wumpus.Tile.*;

public class Agent
{
	public Agent() {
		kb = new KnowledgeBase();
	}
	
	public final KnowledgeBase getKnowledgeBase()	{return kb;}

	public void see(Theorems.Environs t) {
		kb.tell(t);
	}

	public void see(Theorems.Presence t) {
		kb.tell(t);
	}

	public Action act(Percept p) {
		Action a;

		kb.tell(p);
		kb.tell(a = kb.makeAction());
		return a;
	}

	protected int type;
	protected Means means;

	protected KnowledgeBase kb;
}