Wolf.class.php
Go to the documentation of this file.00001 <?php
00014 class Wolf
00015 {
00022 public function say( $strText )
00023 {
00024 print "wolf say: " . $strText . " <br/>\n";
00025 return $this;
00026 }
00027
00031 public function huff()
00032 {
00033
00034 }
00035
00039 public function puff()
00040 {
00041
00042 }
00043
00047 public function blowIt( House $objHouse )
00048 {
00049 if( $objHouse->getBlowBy( $this ) )
00050 {
00051 $objPig = $objHouse->getPig();
00052 $objPig->isKilled();
00053 $objPig->isEaten();
00054 }
00055 }
00056
00060 public function isKilled()
00061 {
00062
00063 }
00064 }
00065 ?>