Inheritance: Renderable
Exemplo n.º 1
0
 public static Sprite FromBitmap(Bitmap bmp)
 {
     Sprite sp = new Sprite();
     sp.SetTexture(new Texture(bmp));
     return sp;
 }