Пример #1
0
 public override MonoControl ProduceItem(MonoItemInfoBase itemInfo, SpriteFont font, Color fontColor, int x, int y)
 {
     return(itemInfo == null ? null : new MonoInventoryItem(itemInfo as MonoInvItemInfo, _menu, _font, fontColor, x, y));
 }
Пример #2
0
 public abstract MonoControl ProduceItem(MonoItemInfoBase itemInfo, SpriteFont font, Color fontColor, int x, int y);
Пример #3
0
 public override MonoControl ProduceItem(MonoItemInfoBase itemInfo, SpriteFont font, Color fontColor, int x, int y)
 {
     return(!(itemInfo is MonoKnowledgeItemInfo info) ? null : new MonoSlider(x, y, info.Text, info.End, info.Start, info.Current, info.IsDisabled, font, _btexture, _bltexture, _blueLightTexture, _graytexture));
 }