public Sprite newSprite(Sprite s) { Sprite sprite = new MonoGameSprite(); sprite.set(s); return(sprite); }
public override Sprite newSprite(TextureRegion texture) { if (texture is Sprite) { Sprite sprite = new MonoGameSprite(); sprite.set((Sprite)texture); return(sprite); } return(new MonoGameSprite(texture)); }