c2ephp

tests/pray-agnt-animation.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 $block = $agent->GetBlocks('AGNT');
00011 print_r($block[0]->GetAgentAnimationAsSpriteFrame());
00012 
00013 ?>
 All Classes Files Functions Variables Enumerations