Squeak Class Documentation category index | class index  
 
TermiteTurtle
  category: StarSqueak-Worlds
  superclass: StarSqueakTurtle
  subclasses:

No comment. Sorry.

instance methods
  demons
  lookForChip
lookForPile
pickUpChip
putDownChip
walk
wiggle

  variables
  isCarryingChip
isCarryingChip:

class methods
  no messages
 

instance methods
  demons top  
 

lookForChip

If this terminte is not carrying a chip and there is a chip at the current location, pick up the chip. To minimize the chance of immediately enountering the same chip pile, turn around and take one step in the the opposite direction.


 

lookForPile

If I am carrying a chip and there is a chip at the current location, drop the chip I'm carrying. To minimize the chance of immediately enountering the same chip pile, turn around and take one step in the the opposite direction.


 

pickUpChip

Pick up a wood chip from the current patch.


 

putDownChip

Drop the wood chip I'm carrying on the current patch.


 

walk


 

wiggle


  variables top  
 

isCarryingChip


 

isCarryingChip:


class methods
  no messages top