001 /* 002 * Created on Feb 15, 2005 003 * 004 */ 005 package aima.games; 006 007 import aima.basic.Agent; 008 009 /** 010 * @author Ravi Mohan 011 * 012 */ 013 public class GameAgent extends Agent { 014 private Game game; 015 016 public GameAgent(Game g) { 017 this.game = g; 018 } 019 020 public void makeMiniMaxMove() { 021 game.makeMiniMaxMove(); 022 } 023 024 public void makeAlphaBetaMove() { 025 game.makeAlphaBetaMove(); 026 } 027 028 }