Fix my code please
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Shot here. * * @author (your name) * @version (a version number or a date) */ public class Shot extends Mover { / private int life /** * Act - do whatever the Shot wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in the environment. */ public void act() { move(10.0); life--; if (life == 0) { getWorld().removeObject(this); } } }