c2ephp

tests/pray.php

Go to the documentation of this file.
00001 <?php
00002 include(dirname(__FILE__).'/../agents/PRAYFile.php');
00003 
00004 if($argv[1] != "") {
00005     $file = $argv[1];
00006 } else {
00007     $file = 'rubber_ball.agents';
00008 }
00009 $agent = new PRAYFile(new FileReader($file));
00010 print_r($agent->GetBlocks());
00011 
00012 ?>
 All Classes Files Functions Variables Enumerations