public static void Set(int layer, int activityIndex) { if (activityIndex > 11) { throw new ApplicationException("Can't have more than 11 layers of activities"); } BLT.Layer(layer + activityIndex * FULL_LAYER_SIZE); }