View Single Post
Old 04-20-2008, 06:29 PM   #9 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

Code:
class Kill extends Homicide {
   var $human;
   var $orc;

   while ($fighting) {
      switch ($attack) {
         case "$this->orc": parry($this->human); break;
         case "$this->human": block($this->orc); break;
         default: $stalk($eachother);
      }
      if (isset($dead)) { die("aaaaAAAaaaaAAAUUURRrrrgHHHhhhh"); }
   }
}
I omitted a lot of $this and $that on purpose, of course...
delayedinsanity is offline  
Reply With Quote