Esempio n. 1
0
 public Texture GetStockTexture(ClydeStockTexture stockTexture)
 {
     return(stockTexture switch
     {
         ClydeStockTexture.White => _stockTextureWhite,
         ClydeStockTexture.Transparent => _stockTextureTransparent,
         _ => throw new ArgumentException(nameof(stockTexture))
     });
Esempio n. 2
0
 public Texture GetStockTexture(ClydeStockTexture stockTexture)
 {
     return(new DummyTexture((1, 1)));
 }