/**
* Creates a new sprite.
*/
protected CharacterSprite createSprite (CharacterDescriptor desc)
{
CharacterSprite s = _charmgr.getCharacter(desc);
if (s != null) {
// start 'em out standing
s.setActionSequence(CharacterSprite.STANDING);
if (_defloc != null) {
Point defpos = getScreenCoords(_defloc.x, _defloc.y);
s.setLocation(defpos.x, defpos.y);
} else {
s.setLocation(300, 300);
}
s.addSpriteObserver(this);
_spritemgr.addSprite(s);
}
return s;
}