/** * Instantiates a new connect button. * * @param x the x * @param y the y * @param w the w * @param h the h */ public ConnectButton(float x, float y, float w, float h) { super(x, y, w, h); sprite.addAnimation("default", FEResources.getTexture("connect_button")); }