Skip to content
Snippets Groups Projects
Select Git revision
  • 5117a8d5007952210ee0c3c8aabc161d0777119d
  • master default
  • fix-remote-url_v4.10.0
  • fix-remote-url_v4.9.1
  • fix-remote-url_v4.8.3
  • fix-remote-url_v4.8.x
  • fix-remote-url_v4.7.x
  • fix-remote-url_v4.6.0
  • fix-remote-urls
9 results

questiontestform.php

Blame
  • Spitter.java 471 B
    import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
    
    /**
     * Write a description of class Spitter here.
     * 
     * @author (your name) 
     * @version (a version number or a date)
     */
    public class Spitter extends Enemy
    {
        /**
         * Act - do whatever the Spitter wants to do. This method is called whenever
         * the 'Act' or 'Run' button gets pressed in the environment.
         */
        public void act() 
        {
            disappear();
        }    
        
    }