Czoko_Smieciarka/Trunk/MonoGameView/DataModels/Displayer.cs

35 lines
782 B
C#
Raw Normal View History

2019-05-11 16:03:29 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonoGameView.DataModels
{
public sealed class Displayer
2019-05-11 16:03:29 +02:00
{
static Displayer _container = null;
public Dictionary<string, int> barsPercent { get; set; }
public Dictionary<string, string> info { get; set; }
public static int GetPercent(string s)
{
return _container.barsPercent[s];
}
public void SetInfo(Dictionary<string, string> _info)
{
info = _info;
}
public void SetBars(Dictionary<string, int> barsPercent)
{
this.barsPercent = barsPercent;
}
public Displayer()
{
}
2019-05-11 16:03:29 +02:00
}
}