示例#1
0
 public static Texture2D GetRandomTexture(System.Random random, ImageBank ib)
 {
     return(ib.GetTexture(random.Next(ib.GetSize())));
 }
示例#2
0
 public Texture2D GetAvatarTexture(int i)
 {
     return(avatarSprites.GetTexture(i));
 }