Esempio n. 1
0
 /// <summary>
 /// Returns a texture defined by a <see cref="DataModel.Json.TextureSourceModel"/>.
 /// </summary>
 public Texture2D GetTexture(TextureSourceModel resourceModel)
 {
     return InternalGetTexture(resourceModel.Source, _gameMode.TexturePath, resourceModel.Rectangle.GetRectangle());
 }