Shape pLayer = ButtonActionExample.instance.pLayer;
Bullet bullet = new Bullet();
bullet.jumpTo( pLayer );
bullet.setDiameter( 0.25 );
bullet.shapeType = ShapeType.oval;
bullet.angle = pLayer.directionTo( cursor );
bullet.velocity = bulletvelocity;
bullet.visualizer.set( "7FFFBF" );
bullets.addLast( bullet );
return bullet;
}