Skip to content
Snippets Groups Projects
Select Git revision
  • 4ecd78f42b2dcc66f37b78142be7cb3ac08dddbe
  • master default protected
  • hsh_3.10
3 results

mods.html

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