Ejemplo n.º 1
0
        public void CounterSet(int id, int value)
        {
            Counter counter = Counter.Find(id);

            QueueAction(
                () =>
            {
                //Program.GameEngine.EventProxy.MuteEvents = true;
                counter.Value = value;
                //Program.GameEngine.EventProxy.MuteEvents = false;
            });
        }
Ejemplo n.º 2
0
 public int CounterGet(int id)
 {
     return(Counter.Find(id).Value);
 }