class Bot { private $Game = null; private $Players = null; private $Board = null; private $Send = null; public function __construct(&$pGame, &$pPlayers, &$pBoard, &$pSend) { #Game class with information about ... $this->Game = &$pGame; #Players class with information about the Players... $this->Players = &$pPlayers; #Board class with information about the Estates ... $this->Board = &$pBoard; #Command class for sending commands ... $this->Send = &$pSend; # more # } public function Init($pPlayerId) { } public function HasTurn() { } public function Cash() { } public function RaiseCash($pAmount) { } public function Jailed() { } public function Owner($pEstateId, $pOwnerId) { } public function CanBuyHouses($pEstateId, $pBool) { } public function CanSellHouses($pEstateId, $pBool) { } }