Skip to content
Snippets Groups Projects
Select Git revision
  • 7c045bae661d67b67ecd94430ed20251acb0de9e
  • main default protected
  • rewrite
  • simulation-old
4 results

main.ts

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();
        }    
        
    }