private void setKeySet(string set, int player, AtomicBombermanKeys keySet)
 {
     setKey(set, player, 0, keySet.up);
     setKey(set, player, 1, keySet.right);
     setKey(set, player, 2, keySet.down);
     setKey(set, player, 3, keySet.left);
     setKey(set, player, 4, keySet.action1);
     setKey(set, player, 5, keySet.action2);
 }
        private AtomicBombermanKeys getKeySet(string set, int player)
        {
            AtomicBombermanKeys r = new AtomicBombermanKeys();

            r.up      = getKey(set, player, 0);
            r.right   = getKey(set, player, 1);
            r.down    = getKey(set, player, 2);
            r.left    = getKey(set, player, 3);
            r.action1 = getKey(set, player, 4);
            r.action2 = getKey(set, player, 5);
            return(r);
        }