How to (shoot misil from plane when mouse click)
Like Demonstar Game
// possible method called by act of class of plane
private void shootMissile()
{
if (Greenfoot.mouseClicked(null))
{
Missile missile = new Missile();
getWorld().addObject(missile, getX(), getY());
missile.setRotation(getRotation());
}
}