Wolf Class Reference

List of all members.

Public Member Functions

 say ($strText)
 huff ()
 puff ()
 blowIt (House $objHouse)
 isKilled ()


Detailed Description

Wolf of the example of the code to diagram

Author:
Thiago Henrique Ramos da Mata <thiago.henrique.mata@gmail.com>

Definition at line 14 of file Wolf.class.php.


Member Function Documentation

blowIt ( House objHouse  ) 

Wolf blow the house

Definition at line 47 of file Wolf.class.php.

References House::getBlowBy(), and House::getPig().

00048     {
00049         if( $objHouse->getBlowBy( $this ) )
00050         {
00051             $objPig = $objHouse->getPig();
00052             $objPig->isKilled();
00053             $objPig->isEaten();
00054         }
00055     }

huff (  ) 

Wolf buff

Definition at line 31 of file Wolf.class.php.

00032     {
00033 
00034     }

isKilled (  ) 

Wolf is killed

Definition at line 60 of file Wolf.class.php.

Referenced by LittlePig::wakeUpBy().

00061     {
00062         
00063     }

puff (  ) 

Wolf puff

Definition at line 39 of file Wolf.class.php.

00040     {
00041 
00042     }

say ( strText  ) 

Wolf say the received text

Parameters:
string $strText
Returns:
Wolf me

Definition at line 22 of file Wolf.class.php.

References print.

00023     {
00024         print "wolf say: " . $strText . " <br/>\n";
00025         return $this;
00026     }


The documentation for this class was generated from the following file:

Generated on Thu Feb 3 03:55:04 2011 for CodeToDiagram by  doxygen 1.5.9