255256257258259260261262263264265
protected String fName; public LogicSprite(String name, AnimatedSprite sp) { fSprite = sp; Sprite s = new Sprite(fSprite.image(0)); fSpan = s.span(); fName = name; addChild(s); } @Override
1314151617181920212223
public SaveButton() { super(); Sprite s = new Sprite("editor/save"); addChild(s); fSpan = s.span(); } @Override public void focus() { super.focus();