Beispiel #1
0
 private void selectTile(int tile)
 {
     this.selTile = t.Map16[tile];
     this.selTileNum = tile;
     if(t.TileBehaviors != null)
         tileBehavior.setArray(t.TileBehaviors[tile]);
     selectQuarter();
 }
Beispiel #2
0
 private void selectTile(int tile)
 {
     this.selTile    = t.Map16[tile];
     this.selTileNum = tile;
     if (t.TileBehaviors != null)
     {
         tileBehavior.setArray(t.TileBehaviors[tile]);
     }
     selectQuarter();
 }
Beispiel #3
0
        private void YFlipTile(NSMBTileset.Map16Tile t)
        {
            NSMBTileset.Map16Quarter aux = t.topLeft;
            t.topLeft    = t.bottomLeft;
            t.bottomLeft = aux;

            aux           = t.topRight;
            t.topRight    = t.bottomRight;
            t.bottomRight = aux;

            t.bottomRight.yFlip = !t.bottomRight.yFlip;
            t.bottomLeft.yFlip  = !t.topLeft.yFlip;
            t.topRight.yFlip    = !t.topRight.yFlip;
            t.topLeft.yFlip     = !t.topLeft.yFlip;
        }