diff --git a/src/framework/RWT/RWTButton.java b/src/framework/RWT/RWTButton.java index 96b6952..cdcd79d 100644 --- a/src/framework/RWT/RWTButton.java +++ b/src/framework/RWT/RWTButton.java @@ -4,10 +4,14 @@ import framework.listener.TouchListener; -public class RWTButton extends RWTSprite implements TouchListener { - - public RWTButton(final RWTSurfaceView surface) { - super(surface); +public class RWTButton implements TouchListener { + private RWTSprite[] sprite = null; + RWTSurfaceView view; + public RWTButton(final RWTSurfaceView view) { + this.view = view; + sprite = new RWTSprite[2]; + sprite[0] = new RWTSprite(view); + sprite[1] = new RWTSprite(view); } @Override