import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class MoveRightTile here. * * @author (your name) * @version (a version number or a date) */ public class MoveRightTile extends Tile { /** * Act - do whatever the MoveRightTile wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in the environment. */ //MoveRightTile r = new MoveRightTile(); public void MoveRightTile() { displayMessage("Ouch",Color.red); } }