Skip to content
Snippets Groups Projects
Select Git revision
  • a8a7af9679c683eded4f51c74be76121d8e7b03c
  • main default protected
  • update_api_v1
3 results

Schnittstellendefinition_1.md

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