Beispiel #1
0
        private void ReloadGrid(FieldItemLayer layer, int topX, int topY)
        {
            var transparency = TR_Transparency.Value / 100d;
            var t            = ((int)(0xFF * transparency) << 24) | 0x00FF_FFFF;

            PB_Acre.Image = FieldItemSpriteDrawer.GetBitmapLayerAcre(layer, topX, topY, AcreScale, Scale1, ScaleX, ScaleAcre, t);
        }
Beispiel #2
0
 private void ReloadGrid(FieldItemLayer layer, int topX, int topY)
 {
     PB_Acre.Image = FieldItemSpriteDrawer.GetBitmapLayerAcre(layer, topX, topY, AcreScale, Scale1, ScaleX, ScaleAcre);
 }