小剑士importjava.io.ByteArrayOutputStream;importjava.io.DataOutputStream;importjava.io.IOException;importjava.util.Random;importjavax.microedition.lcdui.*;importjavax.microedition.rms.RecordStore;publicclassHeroSpriteextendsASprite{publicfinalintLISTENER_LEFT=4;publicfinalin