Zebra0.com

alice worldEagle flies around the mesa

Eagle flies around the mesa

Eagle flies places using place and spatial relations.


Text of video
public void myFirstMethod() {
  //Programmer : Janet Joy     
  //Eagle flies     
  this.eagle.turnToFace( this.cliffWall5 );     
  this.eagle.place( SpatialRelation.ABOVE, this.cliffWall5 );     
  this.eagle.turnToFace( this.canyonSpires5 );     
  this.eagle.place( SpatialRelation.IN_FRONT_OF, this.canyonSpires5 );  
}

NEXT: Rabbit Falls in Pond using Functions