Czoko_Smieciarka/Trunk/MonoGameView/DataModels/Displayer.cs

35 lines
782 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonoGameView.DataModels
{
public sealed class Displayer
{
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()
{
}
}
}